Editing Docker-compose down
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | <code>[[docker-compose]] down</code> stops and '''removes [[containers]]''', [[networks]] | + | <code>[[docker-compose]] down</code> stops and '''removes [[containers]]''', [[networks]], [[volumes]], and [[images]] created by <code>[[docker-compose up]]</code> |
− | |||
− | + | https://docs.docker.com/compose/reference/down/ | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
docker-compose down | docker-compose down | ||
(no output) | (no output) | ||
Line 21: | Line 14: | ||
* <code>[[docker-compose down]] && [[docker-compose build]] --pull && [[docker-compose up]] -d</code> | * <code>[[docker-compose down]] && [[docker-compose build]] --pull && [[docker-compose up]] -d</code> | ||
− | |||
− | + | ||
+ | [[docker-compose down --help]] | ||
== Examples == | == Examples == | ||
Line 44: | Line 37: | ||
Supported filenames: [[docker-compose.yml]], docker-compose.yaml | Supported filenames: [[docker-compose.yml]], docker-compose.yaml | ||
− | |||
− | |||
− | |||
== Related commands == | == Related commands == | ||
* {{docker-compose operations}} | * {{docker-compose operations}} | ||
− | |||
− | |||
== See also == | == See also == |
Advertising: