Docker Client Scenarios

From NovaOrdis Knowledge Base
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