Docker Client Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:


=Commands=
=Commands=
==build==
Takes a [[Docker_Concepts#Dockerfile|Dockerfile]] and produces a [[Docker_Concepts#Container_Image|Docker image]].


==exec==
==exec==
Line 12: Line 16:
</pre>
</pre>


==build==
=ps==
 
Takes a [[Docker_Concepts#Dockerfile|Dockerfile]] and produces a [[Docker_Concepts#Container_Image|Docker image]].


==version==
==version==

Revision as of 14:07, 19 April 2017

Internal

Commands

build

Takes a Dockerfile and produces a Docker image.

exec

docker exec -it <image-name> bash 

ps=

version

docker version

Scenarios

TO RELOCATE

Running RabittMQ

Running a database