Docker Client Operations: Difference between revisions

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


==Running a database==
==Running a database==
<pre>
docker run -d -p 1521:1521 --restart=always --name=db db /entrypoint.sh
</pre>

Revision as of 14:54, 19 April 2017

Internal

Commands

Queries

images
ps
version

Executions

run
exec

Other

build
import
load

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