- Pull image from DockerHub:
docker pull [imageID]
- Run image in detached mode along with a command:
docker run -d [imageID] [command]
- Attatch a running container:
docker attatch [containerID]
- Show Running Containers:
docker ps
- Show All Containers:
docker ps -a
- Kill running container:
docker stop [ContainerID/Name]
- Remove container:
docker rm [ContainerID/Name]