QuestionQ4

VerifiedContainer Virtualization

After creating a new Docker network with the following command:

docker network create --driver bridge isolated_nw

which parameter must be added to docker create to connect a container to that network?

Explanation

Docker’s --network option selects the network to which a container is connected when it is created. Supplying --network=isolated_nw attaches the container to the named bridge network.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!