Docker create: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:
We can do that when we need to copy files out of the container.
We can do that when we need to copy files out of the container.


Various options, such as [[Docker_Network_Operations#Connect_a_Container_to_a_Network|the network to connect to]], etc. can be specified when the container is created.
Various options, such as [[hDocker_Network_Operations#At_Container_Creation_Phase|the network to connect to]], etc. can be specified when the container is created.

Revision as of 17:01, 30 April 2018

Internal

Overview

Create a new container from an image, without executing it?

docker create --name temp-container novaordis/test:build

We can do that when we need to copy files out of the container.

Various options, such as the network to connect to, etc. can be specified when the container is created.