?
Ce document utilise Manuel du site Web PHP chinois Libérer
Usage: down [options] Options: --rmi type Remove images. Type must be one of: 'all': Remove all images used by any service. 'local': Remove only images that don't have a custom tag set by the `image` field. -v, --volumes Remove named volumes declared in the `volumes` section of the Compose file and anonymous volumes attached to containers. --remove-orphans Remove containers for services not defined in the Compose file
停止容器并移除通過創(chuàng)建的容器,網(wǎng)絡,卷和圖像up
。
默認情況下,唯一刪除的內容是:
在撰寫文件中定義的服務容器
網(wǎng)絡在networks
撰寫文件的部分中定義
默認網(wǎng)絡(如果使用的話)
定義為external
的網(wǎng)絡和卷從不刪除。