How do you display images of all running containers that were created based on running Docker Compose?
Experience Level: Junior
Tags: Docker Compose
Answer
Run the following command:
docker-compose images
Related Docker Compose job interview questions
How do you create a custom network and configure a Docker Compose service to use this network?
Docker Compose JuniorHow do you pass an environment variable to a Docker Compose service container?
Docker Compose JuniorHow do you list all running containers that were created based on running Docker Compose?
Docker Compose JuniorHow do you stop Docker Compose services that were previously executed in a detached mode and also delete all their containers?
Docker Compose JuniorHow do you stop Docker Compose services that were previously executed in a detached mode?
Docker Compose Junior