Deciding Between Volumes, Bind Mounts, and Compose Watch (DockerCon 2023)

preview_player
Показать описание
With Docker Compose, building new images and running updated containers for your project's services is a single command away. But what's the best way to manage state, such as test data or database files? We explore Volumes, Bind Mounts, and the new Compose Watch mode to understand when and why you might use each, covering topics such as performance characteristics and limitations.

Presentation: Deciding Between Volumes, Bind Mounts, and Compose Watch
Speaker: Milas Bowman, Sr. Software Engineer, Docker

Resources:

Join the conversation!

ABOUT DOCKER: Docker provides a suite of development tools, services, trusted content, and automations, used individually or together, to accelerate the delivery of secure applications.

#Docker #dockercompose #softwaredeveloper
Рекомендации по теме
Комментарии
Автор

Really well explained. Learnt a lot. Awesome.

JobinJacobKavalam
Автор

I just wish I could code everything here all by myself. I think it’s time to learn C/Rust

habibosaye
Автор

Why did it took so long to have Compose Watch?

EliSpizzichino
Автор

That talk about *not* being paid by lines and then recommending to write more lines is a bit strange. If we were paid by lines then by all means use the longer version. But because we're not, shouldn't you recommend the shorter version? Well, as it turns out, many developers are in fact paid per lines, because they are paid by time, and writing more code takes more time. At the end, the remark misses the point: Always write the version that is the easiest to understand.

blafasel