Skip to content

Learning log

Linda edited this page Jan 17, 2020 · 7 revisions

General learnings

  • OMG dockerizing everything actually does make setup easier. @bengineerdavis, @d3vild06, and everyone who asked about it: you were right. (Linda)

How do I back out of a migration? (Linda)

The best reference (with ~737 upvotes): https://stackoverflow.com/questions/32123477/how-to-revert-the-last-migration

What are some common docker commands? (Linda)

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
Clone this wiki locally