?
本文檔使用 php中文網(wǎng)手冊(cè) 發(fā)布
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)絡(luò),卷和圖像up
。
默認(rèn)情況下,唯一刪除的內(nèi)容是:
在撰寫文件中定義的服務(wù)容器
網(wǎng)絡(luò)在networks
撰寫文件的部分中定義
默認(rèn)網(wǎng)絡(luò)(如果使用的話)
定義為external
的網(wǎng)絡(luò)和卷從不刪除。