- Install docker:
- For Ubuntu 16.04:
apt-get install docker.io - For others: check the official documentation
- Install docker-compose:
curl -L https://github.com/docker/compose/releases/download/1.8.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-composechmod +x /usr/local/bin/docker-composeln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
- Modify SSH password in
Dockerfile - Run docker instance:
docker-compose up -d - Log into server:
ssh root@localhost -p 2022