Merge pull request #153 from abusaidm/patch-1

previously only printing the line again
This commit is contained in:
Will Sargent 2018-04-30 10:11:45 -07:00 committed by GitHub
commit 34f7f9cbf6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -761,7 +761,7 @@ docker ps -a -f ancestor=ubuntu
Remove all untagged images
```
docker rmi $(docker images | grep “^” | awk “{print $3}”)
docker rmi $(docker images | grep “^” | awk '{split($0,a," "); print a[3]}')
```
Remove container by a regular expression