Add tips: Delete all containers command

Delete all containers (force!! running or stopped containers)
This commit is contained in:
seerjk 2017-12-21 14:51:14 +08:00 committed by GitHub
parent 7ca7dcedac
commit c8c44868ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -655,6 +655,12 @@ docker run --rm ubuntu env
docker kill $(docker ps -q)
```
### Delete all containers (force!! running or stopped containers)
```
docker rm -f $(docker ps -qa)
```
### Delete old containers
```