- Docker
- docker-compose
$ curl https://get.docker.com | sudo bash
$ sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
$ chmod +x /usr/local/bin/docker-compose
$ cp .env-sample .env
$ vi .env
$ docker-compose build
Starting
$ docker-compose up
Stopping
$ docker-compose down
Start and detach to background
$ docker-compose up -d
Watching the logs
$ docker-compose logs -f
Access in the container
$ docker-compose exec <namecontainer> sh
Status/List of running containers
$ docker-compose ps