Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 711 Bytes

docker.md

File metadata and controls

48 lines (34 loc) · 711 Bytes

Docker Configuration

wget https://releases.hashicorp.com/vagrant/2.0.0/vagrant_2.0.0_x86_64.deb
dpkg -i vagrant_2.0.0_x86_64.deb
apt-get --no-install-recommends install docker.io
adduser [user] docker 

Docker up

set execution permissions

chmod 775 docker-up.sh
./docker-up.sh [SERVER_NAME]

this scripts optionally takes as parameter SERVER_NAME is none is given, then default value is "local.openstack.org"

cheat sheet

List Container Processes

docker ps

Access to Container Shell

docker exec -i -t SERVER_NAME /bin/bash

Stop Container

docker stop [SERVER_NAME]

Remove Container

docker rm [SERVER_NAME]