sajad torkamani

In the root of a project with a docker-compose.yml file, run:

docker-compose ps

Example output:

NAME                    COMMAND                  SERVICE             STATUS              PORTS
guestbook-blackfire-1   "/usr/local/bin/entr…"   blackfire           exited (1)          
guestbook-database-1    "docker-entrypoint.s…"   database            running             0.0.0.0:51961->5432/tcp
guestbook-mailer-1      "mailcatcher --no-qu…"   mailer              running             0.0.0.0:51958->1025/tcp, 0.0.0.0:51959->1080/tcp
Tagged: Docker

Leave a comment

Your email address will not be published. Required fields are marked *