How do you change the location of your Docker images on macOS?

This is mostly a note to self so I don’t forget how to do this

My 2017 era MacBook Pro only has 250GB of storage. With Xcode and Docker, it’s pretty easy to eat up the entire drive. Luckily it’s easy to move the location of your docker disk images.

  1. Open Docker Preferences
  2. Select Resources ➡ Advanced
  3. Scroll down to “Disk image location”
  4. Set the disk image to your external drive.
  5. Apply and restart.

It takes a few minutes to move everything.

Joe Cotellese @JoeCotellese