Docker Client Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 14: Line 14:
<pre>
<pre>
docker exec -it <image-name> bash  
docker exec -it <image-name> bash  
</pre>
==import==
<pre>
gzcat ubuntu.tar.gz | docker import - db
</pre>
</pre>



Revision as of 14:08, 19 April 2017

Internal

Commands

build

Takes a Dockerfile and produces a Docker image.

exec

docker exec -it <image-name> bash 

import

gzcat ubuntu.tar.gz | docker import - db

ps

version

docker version

Scenarios

TO RELOCATE

Running RabittMQ

Running a database