2 ms·
> I guess you lose all of the Docker metadata, links and volumes though? You only need links at runtime, so they're not part of the frozen image per se; they e
by chimeracoder 11y ago
> I guess you lose all of the Docker metadata, links and volumes though?
You only need links at runtime, so they're not part of the frozen image per se; they exist as part of a running container. Put another way, systemd handles container networking, so you don't need the environment variables that Docker injects when making links, because the containers can talk to each other already[0].
Volumes - if you mount external volumes with -v /foo:/bar, you can do the same with systemd. I'm actually not too sure about named volumes in Docker, since I almost never use them (it's way easier to reason about volumes when I control where they are located on the host).
> You should turn this into blog post if you have time - I'd upvote it anyway!
Thanks - I'm actually working on that! Consider these slides a preview. :)