Docker Commands
Building and running containers.
Containers
docker runCreates and starts a new container from an image.
docker psLists running containers.
docker stopGracefully stops one or more running containers (sends SIGTERM, then SIGKILL after a timeout).
docker rmRemoves one or more stopped containers.
docker execRuns a command inside an already-running container.
docker logsFetches the stdout/stderr logs of a container.