Docker create: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(4 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=
Line 8: Line 9:


  docker create --name temp-container novaordis/test:build
  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.