Should I be concerned about excess, non-running, Docker containers?

前端 未结 5 1596
花落未央
花落未央 2021-01-29 23:35

Every docker run command, or every RUN command inside a Dockerfile, creates a container. If the container is no longer running it can still be seen wit

5条回答
  •  梦毁少年i
    2021-01-30 00:25

    If you run a container with a volume and do not use docker rm -v to remove it then the volume is not being removed after you remove a container. Also there is an issue with a vfs storage driver. If you forget to clean, volumes will eat up your disk space.

提交回复
热议问题