Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

Commit

Permalink
New approach to kill+destroy containers
Browse files Browse the repository at this point in the history
After discussing with Randy, decided to take a different approach. No need to pass the results of the "docker-compose ps" command to docker. Docker-compose knows about any pertinent containers based on the .yml file; just let the command do its thing.
  • Loading branch information
wchrisjohnson committed Mar 10, 2016
1 parent e2ad26e commit e2481ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ docker-compose stop

#### Cleanup containers
```
docker rm -f $(docker-compose ps -q)
docker-compose rm -f
```

0 comments on commit e2481ed

Please sign in to comment.