docker 删除缓存

文章目录

          • ENV
          • docker 删除缓存

ENV

Fedora release 29 (Twenty Nine) x86_64
Docker version 19.03.5, build 633a0ea838

docker 删除缓存

docker system prune --volumes
示例

[user@localhost ~]$ sudo docker system prune --volumes
WARNING! This will remove:
  - all stopped containers
  - all networks not used by at least one container
  - all volumes not used by at least one container
  - all dangling images
  - all dangling build cache
  
Are you sure you want to continue? [y/N] y
...

[1] https://linuxize.com/post/how-to-remove-docker-images-containers-volumes-and-networks/

你可能感兴趣的:(数据库)