Skip to content

Instantly share code, notes, and snippets.

@yeungon
Last active November 25, 2018 14:04
Show Gist options
  • Save yeungon/740e1b11acb1ac470ddef08af6cedbb0 to your computer and use it in GitHub Desktop.
Save yeungon/740e1b11acb1ac470ddef08af6cedbb0 to your computer and use it in GitHub Desktop.
Ubuntu from the scratch (for Vietnamese)
@yeungon
Copy link
Author

yeungon commented Nov 22, 2018

Delete all docker containers
docker rm $(docker ps -a -q)
Delete all docker images
docker rmi $(docker images -q)

@yeungon
Copy link
Author

yeungon commented Nov 23, 2018

How docker ps helped me: docker rm -f $(docker ps -aq) is a short command which I use to remove all containers.

@yeungon
Copy link
Author

yeungon commented Nov 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment