Skip to content

Instantly share code, notes, and snippets.

View jseadragon's full-sized avatar
🚀

Jonathan Seawright jseadragon

🚀
  • CriticalStart
  • Dallas, TX
View GitHub Profile
@jseadragon
jseadragon / docker-cleanup-resources.md
Created August 27, 2019 20:20 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

@jseadragon
jseadragon / Python3, Pip3, Virtualenv and Virtualenvwrapper Setup
Created September 15, 2017 04:02 — forked from IamAdiSri/Python3, Pip3, Virtualenv and Virtualenvwrapper Setup
Setting up and using Python3, Pip3, Virtualenv (for Python3) and Virtualenvwrapper (for Python3)
First install pip for Python2. Download the get-pip.py file from https://bootstrap.pypa.io/get-pip.py
$ cd <download location>
$ sudo -H ./get-pip.py
Use pip to install pip3
$ sudo -H pip install pip3
Installing pip3 also installs Python3
To run Python3
$ python3