Docker create: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Docker Client Operations =Overview= Create a new container.") |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
* [[Docker Client Operations#Commands|Docker Client Operations]] | * [[Docker Client Operations#Commands|Docker Client Operations]] | ||
* [[docker run#Overview|docker run]] | |||
=Overview= | =Overview= | ||
Create a new container. | Create a new container from an image, <font color=red>without executing it?</font> | ||
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 [[Docker_Network_Operations#At_Container_Creation_Phase|the network to connect to]], etc. can be specified when the container is created. |
Latest 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.