701-100 Exam QuestionsBrowse all questions from this exam

701-100 Exam - Question 27


FILL BLANK -

Which docker-machine sub command outputs a list of commands that set environment variables which are required to make docker work with a Docker host managed by docker-machine? (Specify only the sub command without any path or parameters.)

Show Answer
Correct Answer:

The Docker Machine subcommand that outputs a list of commands to set the environment variables required for Docker to work with a Docker host managed by Docker Machine is 'env'. When you execute 'docker-machine env machine-name', it provides the necessary environment settings for the specified machine.

Discussion

3 comments
Sign in to comment
jchavarria12
Aug 4, 2021

the right is env, https://docs.docker.com/machine/get-started/

Blob21
Jun 23, 2021

https://docs.docker.com/engine/reference/commandline/run/

hamzaab
Jul 30, 2021

docker run