38 lines
1.4 KiB
YAML
38 lines
1.4 KiB
YAML
schema: 1
|
|
card: console-bash/L08
|
|
title: Docker Fundamentals
|
|
steps:
|
|
- id: image
|
|
task: task01_build_image_spec
|
|
action: test
|
|
profile: native-amd64
|
|
target: native
|
|
command: stemctl test native-amd64 console-bash L08 1
|
|
board:
|
|
show: [build_context, Dockerfile, instructions, image_tag, digest, engine_mode]
|
|
highlight: [immutable_spec, content_digest, offline_model]
|
|
question: Dlaczego tag i digest nie są tym samym?
|
|
evidence: [syntax_valid, instruction_count, digest, engine_mode]
|
|
- id: lifecycle
|
|
task: task02_container_lifecycle
|
|
action: test
|
|
profile: native-amd64
|
|
target: native
|
|
command: stemctl test native-amd64 console-bash L08 2
|
|
board:
|
|
show: [image, container_name, running, inspect, exited, removed]
|
|
highlight: [image_vs_container, state_transition, explicit_remove]
|
|
question: Dlaczego stop nie usuwa kontenera?
|
|
evidence: [running_status, exited_status, removed, engine_mode]
|
|
- id: storage
|
|
task: task03_volume_and_bind
|
|
action: debug
|
|
profile: native-amd64
|
|
target: native
|
|
command: stemctl debug native-amd64 console-bash L08 3
|
|
board:
|
|
show: [container, named_volume, bind_path, remove_container, persistent_data, trace_log]
|
|
highlight: [lifecycle_independence, engine_managed, host_managed]
|
|
question: Kto zarządza ścieżką volume, a kto ścieżką bind mount?
|
|
evidence: [volume_persists, bind_persists, explicit_volume_remove, trace_log]
|