Docker Client Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:
:<span id='inspect'></span>[[docker inspect|inspect]]
:<span id='inspect'></span>[[docker inspect|inspect]]
:<span id='version'></span>[[docker version|version]]
:<span id='version'></span>[[docker version|version]]
==Lifecycle==
:<span id='run'></span>[[docker run|run]]
:<span id='start'></span>[[docker start|start]]
:<span id='stop'></span>[[docker stop|stop]]


==Executions==
==Executions==


:<span id='run'></span>[[docker run|run]]
:<span id='exec'></span>[[docker exec|exec]]
:<span id='exec'></span>[[docker exec|exec]]



Revision as of 18:37, 19 April 2017

Internal

Commands

Queries

images
ps
inspect
version

Lifecycle

run
start
stop

Executions

exec

Other

build
import
load
update

Recipes

Scenarios

TO RELOCATE

Running RabittMQ

docker run -d --hostname my-rabbit --name rabbitmq -p 5672:5672 -p 15672:15672 rabbitmq

Running a database

docker run -d -p 1521:1521 --restart=always --name=db db /entrypoint.sh