Docker create: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:


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.

Revision as of 17:00, 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.