Docker Container
Introduction to Docker containers and their usage
1 min read |95 words
March 12, 2026Showing Docker Containers
docker ps
docker container ls
Creating a Docker Container
docker run -d --name <container-name> <image-name>:<tag>
Example:
docker run -d --name my-nginx nginx:latest
docker run -d --name my-mysql mysql:5.7
Starting a Docker Container
docker start <container-name>
Example:
docker start my-nginx
Stopping a Docker Container
docker stop <container-name>
Example:
docker stop my-nginx
Removing a Docker Container
docker rm <container-name>
Example:
docker rm my-nginx
Related Posts
Docker Cheat Sheets
Cheat sheets for frequently used Docker commands and concepts
dockerdevopsinfrastructure
Docker Execution
Introduction to Docker execution and their usage
dockerdevopsinfrastructure
Docker Image
Introduction to Docker images and their usage
dockerdevopsinfrastructure
Docker Logging
Introduction to Docker logging and their usage
dockerdevopsinfrastructure