Recently reached some understanding of Docker and VOLUME vs ADD. Since my local memory keeps filling up with random containers, this change seemed useful.
Effectively, allow Docker Compose to mount the necessary development volumes, instead of adding them to the container themselves...
This has made the number of containers I have locally drop asymptotically.
Motivation
Recently reached some understanding of Docker and
VOLUME
vsADD
. Since my local memory keeps filling up with random containers, this change seemed useful.Effectively, allow Docker Compose to mount the necessary development volumes, instead of adding them to the container themselves...
This has made the number of containers I have locally drop asymptotically.
Suggested Musical Pairing
https://soundcloud.com/uffie-official-458383245/papercuts-2