Install docker-compose
> curl -L https://github.com/docker/compose/releases/download/1.2.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
> chmod +x /usr/local/bin/docker-compose
Check version
> docker-compose version
Run service
> docker-compose up
Check all running services
> docker-compose ps
Bash access to a running service
> docker-compose run worker bash
No comments:
Post a Comment