Basic Docker Commands¶
Running Containers¶
docker run¶
Run a command in a new container.
docker start¶
Start a stopped container.
docker stop¶
Stop a running container.
Managing Images¶
docker build¶
Build an image from a Dockerfile.
docker pull¶
Pull an image from a registry.
docker push¶
Push an image to a registry.
Managing Containers¶
docker ps¶
List running containers.
docker inspect¶
Get detailed information about a container.
docker logs¶
Fetch the logs of a container.