How can you check a Docker contaienr state?

Experience Level: Junior
Tags: Docker

Answer

Use the following command to list running containers:
docker ps

Use the following command to list all containers:
docker ps -a

Comments

No Comments Yet.
Be the first to tell us what you think.
Docker for beginners
Docker for beginners

Are you learning Docker ? Try our test we designed to help you progress faster.

Test yourself
Kubernetes Certified Application Developer (CKAD) preparation
Kubernetes Certified Application Developer (CKAD) preparation

Are you learning Docker ? Try our test we designed to help you progress faster.

Test yourself