While I was away from Docker
During last year there were few major features that I’ve missed and just found out in a hard way.
Here are some of most useful ones:
- Multi-stage builds (from verison 17.05) - Here you are basically doing any mayhem during base image creation and then just copying result contents to final image.
- Persistent volumes - It’s not about
-v
command for docker but creating and managing new volumes in virtual fs. - –volumes-from tag - allows to mount volumes from other running container.