Docker Client Scenarios

From NovaOrdis Knowledge Base
Revision as of 23:48, 25 April 2017 by Ovidiu (talk | contribs) (Created page with "=Internal= * Docker Client Operations =Scenarios= RabittMQ: <pre> docker run -d --hostname my-rabbit --name rabbitmq -p 5672:5672 -p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Scenarios

RabittMQ:

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

A database:

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

Latest Centos:

docker run --rm -ti centos:latest /bin/bash