-
-
Notifications
You must be signed in to change notification settings - Fork 22
Learning log
Linda edited this page Jan 17, 2020
·
7 revisions
- OMG dockerizing everything actually does make setup easier. @bengineerdavis, @d3vild06, and everyone who asked about it: you were right. (Linda)
The best reference (with ~737 upvotes): https://stackoverflow.com/questions/32123477/how-to-revert-the-last-migration
I never actually really bothered to learn docker before (hah) so picked up a couple of commands that felt useful: - list all the containers running $ docker ps
- How to pull a docker postgres image (specifically postgres 11.1) $ docker pull postgres:11.1
- See all the images you have $ docker images
- The place your postgres image probably exists $HOME/docker/volumes/postgres
- How to prune your docker system of all unused volumes (I think?) $ docker system prune --all --volumes