Question 31
When using the Docker client to push an image to a registry, what environment variable is used to instruct the client to perform signing of the image?
Question 32
Is this a way to configure the Docker engine to use a registry without a trusted TLS certificate?
Solution. Set INSECURE_REGISTRY in the' /etc/docker/default' configuration file.
Solution. Set INSECURE_REGISTRY in the' /etc/docker/default' configuration file.
Question 33
Will a DTR security scan detect this?
Solution. image configuration poor practices, such as exposed ports or inclusion of compilers in production images
Solution. image configuration poor practices, such as exposed ports or inclusion of compilers in production images
Question 34
Will this sequence of steps completely delete an image from disk in the Docker Trusted Registry?
Solution: Delete the image and run garbage collection on the Docker Trusted Registry.
Solution: Delete the image and run garbage collection on the Docker Trusted Registry.
Question 35
You configure a local Docker engine to enforce content trust by setting the environment variable
DOCKER_CONTENT_TRUST=1.
If myorg/myimage: 1.0 is unsigned, does Docker block this command?
Solution: docker service create myorg/myimage:1.0
DOCKER_CONTENT_TRUST=1.
If myorg/myimage: 1.0 is unsigned, does Docker block this command?
Solution: docker service create myorg/myimage:1.0