/command-docker

Some command and tips about Docker

command-docker 🐋

Some command and tips about Docker.

  1. docker info - docker information
  2. docker version - docker version
  3. docker ps - status the container
  4. docker container -a - display all the containers
  5. docker image -a - display all the images container
  6. docker run - runs a container
  7. docker container --rm - remove a container
  8. docker pause - pause the container
  9. docker rm image - * remove a image*
  10. docker ps - * list the containers*
  11. docker pull - Pull an image or a repository from a registry
  12. docker container run -it debian bash - enters in container terminal selected
  13. docker registry - * Manage Docker registries*
  14. docker rename CONTAINER NEW NAME - * rename a container*
  15. docker build -t nomeimage . - builds the image
  16. docker image prune [OPTIONS] - remove unsued images