diff --git a/data/1_Orchestration/interpret_output_docker_inspect_command.yaml b/data/1_Orchestration/interpret_output_docker_inspect_command.yaml index 272e2be..785874b 100644 --- a/data/1_Orchestration/interpret_output_docker_inspect_command.yaml +++ b/data/1_Orchestration/interpret_output_docker_inspect_command.yaml @@ -41,7 +41,7 @@ questions: - { value: 'docker inspect --ip-only ', correct: false } - { value: 'docker info --network ', correct: false } - { value: 'docker logs --network-info ', correct: false } - - { value: 'docker inspect -f `{{ .NetworkSettings.IPAddress }}` ', correct: true } + - { value: "docker inspect -f '{{ .NetworkSettings.IPAddress }}' ", correct: true } help: https://docs.docker.com/reference/cli/docker/inspect/ - uuid: 5e7f3841-bd3f-4e3e-b63b-73f4b7b9482e diff --git a/data/2_Image_creation_management_registry/describe_demonstrate_how_to_inspect_images_report_specific_attributes_using_filter_format.yaml b/data/2_Image_creation_management_registry/describe_demonstrate_how_to_inspect_images_report_specific_attributes_using_filter_format.yaml index dcaca16..d34b52a 100644 --- a/data/2_Image_creation_management_registry/describe_demonstrate_how_to_inspect_images_report_specific_attributes_using_filter_format.yaml +++ b/data/2_Image_creation_management_registry/describe_demonstrate_how_to_inspect_images_report_specific_attributes_using_filter_format.yaml @@ -40,6 +40,8 @@ questions: answers: - { value: 'docker images --format "{{.ID}}: {{.Repository}}"', correct: true } - { value: 'docker images --format "{{.Image}}: {{.Name}}"', correct: false } + - { value: 'docker images --template "ID={{.ID}}"', correct: false } + - { value: 'docker images --output "{{.Repository}}"', correct: false } help: https://docs.docker.com/reference/cli/docker/image/ls/ - uuid: e54ad2de-5be4-4385-944b-d0c991d3f88e @@ -60,15 +62,6 @@ questions: - { value: '.Tags', correct: false } help: https://docs.docker.com/reference/cli/docker/image/ls/#format-the-output---format - - uuid: 67917938-64c5-4a76-9152-871db7e60db8 - question: What does the `--digests` flag show in `docker images`? - answers: - - { value: 'Untagged containers', correct: false } - - { value: 'Image file system structure', correct: false } - - { value: 'Content-addressable image identifiers', correct: true } - - { value: 'All intermediate layers', correct: false } - help: https://docs.docker.com/reference/cli/docker/image/ls/#list-image-digests---digests - - uuid: 4622a734-8c7e-4f91-bd8a-55e7fd31c43e question: How can you list untagged (dangling) images? answers: diff --git a/data/2_Image_creation_management_registry/describe_the_use_of_dockerfile.yaml b/data/2_Image_creation_management_registry/describe_the_use_of_dockerfile.yaml index aa71b0b..f2d73a6 100644 --- a/data/2_Image_creation_management_registry/describe_the_use_of_dockerfile.yaml +++ b/data/2_Image_creation_management_registry/describe_the_use_of_dockerfile.yaml @@ -5,6 +5,7 @@ questions: - { value: 'To deploy containers in Kubernetes', correct: false } - { value: 'To configure Docker Hub settings', correct: false } - { value: 'To automate image creation using versioned instructions', correct: true } + - { value: 'To manage Docker daemon runtime options', correct: false } help: https://docs.docker.com/engine/reference/builder/ - uuid: c174e319-85dc-47d2-bde5-fc9482c87212 @@ -13,6 +14,7 @@ questions: - { value: 'It ensures repeatability and automation', correct: true } - { value: 'It creates containers instead of images', correct: false } - { value: 'It improves image compression', correct: false } + - { value: 'It bypasses the need for a base image', correct: false } help: https://docs.docker.com/develop/develop-images/dockerfile_best-practices/ - uuid: 1d87b0ec-ecc7-42f2-88d5-5cd193449bfa @@ -21,6 +23,7 @@ questions: - { value: 'The orchestration of services across nodes', correct: false } - { value: 'The logging behavior of running containers', correct: false } - { value: 'The step-by-step instructions to build a Docker image', correct: true } + - { value: 'The network configuration of a Docker Swarm cluster', correct: false } help: https://docs.docker.com/engine/reference/builder/ - uuid: e7f40412-2c7a-4bfa-9eac-7a5aa7e708f6 @@ -29,6 +32,7 @@ questions: - { value: 'It deploys applications to production automatically', correct: false } - { value: 'It enables consistent image builds across environments', correct: true } - { value: 'It replaces the Docker daemon configuration', correct: false } + - { value: 'It eliminates the need for version control', correct: false } help: https://docs.docker.com/build/ci/ - uuid: 3c5fbd4f-cf77-46a3-a8a4-063408c5f9b3 @@ -37,4 +41,5 @@ questions: - { value: 'A volume definition file for persistent storage', correct: false } - { value: 'A text file containing image build instructions', correct: true } - { value: 'A binary image used to start containers', correct: false } + - { value: 'A YAML manifest for container orchestration', correct: false } help: https://docs.docker.com/engine/reference/builder/