DCA Exam Question 81

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 image import <tarball> myorg/myimage:1.0
  • DCA Exam Question 82

    Will this command display a list of volumes for a specific container?
    Solution: docker container logs nginx --volumes'
  • DCA Exam Question 83

    Will this command mount the host's '/data* directory to the ubuntu container in read-only mode?
    Solution. 'docker run -add-volume /data /mydata -read-only ubuntu'
  • DCA Exam Question 84

    Which networking drivers allow you to enable multi-host network connectivity between containers?
  • DCA Exam Question 85

    What is the difference between the ADD and COPY dockerfile instructions? (choosen 2)