Sobes.tech
Junior — Middle

Can you name the main Docker commands used by the container operator?

sobes.tech AI

Answer from AI

Main Docker commands that container operators often use:

  • docker run — start a new container from an image.
  • docker ps — view running containers.
  • docker stop — stop a running container.
  • docker rm — remove a container.
  • docker images — view local images.
  • docker rmi — delete an image.
  • docker pull — download an image from a repository.
  • docker logs — view container logs.
  • docker exec — execute a command inside a running container.

These commands allow managing the lifecycle of containers and images.