Docker Compose

Tips & tricks

$ docker-compose ps
$ docker ps

Show Information

$ docker-compose ps
$ docker ps

Mapping Ports

Our project


$ docker-compose exec www bash

Run command


$ docker-compose run www bash

Run new instance


$ docker-compose run www bash

Run new instance




$ docker-compose -f build.yml dspace create-administrator

Different files



$ docker ps -a

$ docker rm (docker ps -a | awk '{ print $1 }')

Delete unnecessary Containers

Docker Compose

By David Flores

Docker Compose

  • 1,256