diff --git a/data/2_Image_creation_management_registry/apply_file_create_image.yaml b/data/2_Image_creation_management_registry/apply_file_create_image.yaml index d3aff62..3632adf 100644 --- a/data/2_Image_creation_management_registry/apply_file_create_image.yaml +++ b/data/2_Image_creation_management_registry/apply_file_create_image.yaml @@ -69,7 +69,7 @@ questions: - { value: 'Use a .dockerignore file', correct: true } - { value: 'Use the --exclude flag', correct: false } - { value: 'Files are automatically excluded by Docker', correct: false } - help: 'https://docs.docker.com/reference/dockerfile/#dockerignore-file' + help: 'https://docs.docker.com/build/concepts/context/#dockerignore-files' - uuid: 6c02d847-f098-49b7-8547-08dfd53ef3b1 question: Which of the following instructions is preferred for copying local files into an image when no archive extraction is needed? diff --git a/data/2_Image_creation_management_registry/deploy_registry.yaml b/data/2_Image_creation_management_registry/deploy_registry.yaml index aa7501f..80f56a2 100644 --- a/data/2_Image_creation_management_registry/deploy_registry.yaml +++ b/data/2_Image_creation_management_registry/deploy_registry.yaml @@ -6,7 +6,7 @@ questions: - { value: 'docker deploy registry', correct: false } - { value: 'docker run -d -p 5000:5000 --name registry registry:2', correct: true } - { value: 'docker image push registry:2', correct: false } - help: 'https://docs.docker.com/registry/deploying/' + help: 'https://distribution.github.io/distribution/about/deploying/' - uuid: 1ae849c1-286f-419b-a6df-7931a5f650e5 question: Which port is exposed by default in the official Docker registry image? @@ -15,7 +15,7 @@ questions: - { value: '443', correct: false } - { value: '5000', correct: true } - { value: '80', correct: false } - help: 'https://docs.docker.com/registry/' + help: 'https://distribution.github.io/distribution/about/deploying/' - uuid: b34b189f-1d12-452e-ae42-88c531cf9b26 question: What is the purpose of setting the environment variable `REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY` in the registry container? @@ -24,7 +24,7 @@ questions: - { value: 'To expose a custom port', correct: false } - { value: 'To connect to Docker Hub', correct: false } - { value: 'To define registry authentication', correct: false } - help: 'https://docs.docker.com/registry/configuration/' + help: 'https://distribution.github.io/distribution/about/configuration/' - uuid: 51a93188-2a87-4fd5-b1c4-c6373ce3e57a question: What storage backend is used by default in the official registry image? @@ -60,7 +60,7 @@ questions: - { value: 'Use the Alpine base image', correct: false } - { value: 'Enable TLS using a valid certificate', correct: true } - { value: 'Run in host network mode', correct: false } - help: 'https://docs.docker.com/registry/deploying/#running-a-domain-registry' + help: 'https://distribution.github.io/distribution/about/deploying/' - uuid: 287ba12b-8638-4bcb-9fbd-34f5360a062c question: What is the risk of exposing a registry without TLS in production? @@ -78,7 +78,7 @@ questions: - { value: 'docker run -v /opt/registry:/var/lib/registry registry:2', correct: true } - { value: 'docker run --mount type=bind,target=/var/run/docker.sock registry:2', correct: false } - { value: 'docker run --tmpfs /var/lib/registry registry:2', correct: false } - help: 'https://docs.docker.com/registry/storage-drivers/filesystem/' + help: 'https://distribution.github.io/distribution/about/deploying/' - uuid: f5d7dc60-c003-41e3-9058-381b2b0dd5c5 question: Which configuration file allows customizing a registry with authentication, storage, and logging options? @@ -87,4 +87,4 @@ questions: - { value: 'daemon.json', correct: false } - { value: 'registry.conf', correct: false } - { value: 'config.yml', correct: true } - help: 'https://docs.docker.com/registry/configuration/' + help: 'https://distribution.github.io/distribution/about/configuration/' diff --git a/data/2_Image_creation_management_registry/describe_add_copy_volumes_expose_entrypoint.yaml b/data/2_Image_creation_management_registry/describe_add_copy_volumes_expose_entrypoint.yaml index b99e0b0..a8e491b 100644 --- a/data/2_Image_creation_management_registry/describe_add_copy_volumes_expose_entrypoint.yaml +++ b/data/2_Image_creation_management_registry/describe_add_copy_volumes_expose_entrypoint.yaml @@ -54,6 +54,7 @@ questions: - { value: 'The port is documented but not published to the host automatically', correct: true } - { value: 'Docker maps it to a random host port', correct: false } help: https://docs.docker.com/engine/reference/builder/#expose + - uuid: 3fc5d85e-d5cd-4a96-9b27-bd10a5893e14 question: What makes the ADD instruction different from COPY in Dockerfiles? answers: diff --git a/data/2_Image_creation_management_registry/describe_demonstrate_how_create_efficient_image_via_dockerfile.yaml b/data/2_Image_creation_management_registry/describe_demonstrate_how_create_efficient_image_via_dockerfile.yaml index b43fe15..0080963 100644 --- a/data/2_Image_creation_management_registry/describe_demonstrate_how_create_efficient_image_via_dockerfile.yaml +++ b/data/2_Image_creation_management_registry/describe_demonstrate_how_create_efficient_image_via_dockerfile.yaml @@ -87,4 +87,4 @@ questions: - { value: 'Because ENV variables are not supported', correct: false } - { value: 'Because Docker blocks secret keys automatically', correct: false } - { value: 'Because they are encrypted by default', correct: false } - help: 'https://docs.docker.com/develop/dev-best-practices/#dont-store-secrets-in-images' + help: 'https://docs.docker.com/build/building/secrets' 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 d34b52a..26d111d 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 @@ -33,7 +33,7 @@ questions: - { value: '.Tag', correct: false } - { value: '.Name', correct: false } - { value: '.Repository', correct: true } - help: https://docs.docker.com/reference/cli/docker/image/ls/ + help: https://docs.docker.com/reference/cli/docker/image/ls/#format - uuid: b0a18a67-7c4e-44cf-869d-393f6aa3a239 question: Which of the following would show image IDs and repositories using Go templates? @@ -51,7 +51,7 @@ questions: - { value: 'Custom output using Go templates', correct: true } - { value: 'Filtering by tag', correct: false } - { value: 'Binary output for API usage', correct: false } - help: https://docs.docker.com/reference/cli/docker/image/ls/#format-the-output---format + help: https://docs.docker.com/reference/cli/docker/image/ls/#format - uuid: d9e7e73c-c8f3-46cc-b6c0-734a53b939fc question: Which Go template variable shows the image’s tag? @@ -101,19 +101,19 @@ questions: - uuid: b963e979-9975-4de0-bf3b-3ac93d537029 question: What filter lists only images created before `ubuntu:20.04`? answers: - - { value: '--filter created