[SOLVED] Podman quadlet adding files to container - Europe Pub (europe.pub)
from Nico_198X@europe.pub to linux@lemmy.ml on 09 Jul 18:52
https://europe.pub/post/2343865

i just ended up going with a new image with the components installed, which i’ve been informed is best practice.

#linux

threaded - newest

aksdb@lemmy.world on 09 Jul 21:38 collapse

The idiomatic way would be to build your own image. That’s exactly the strength of the layering of container images.

Nico_198X@europe.pub on 11 Jul 10:39 collapse

understood. this is the route i ended up taking. thank you!

aksdb@lemmy.world on 12 Jul 06:08 collapse

I think you won’t regret it. If the container startup installs stuff, you might lock yourself out when the remote server has issues, your network has issues, or if the package you install changes due to an update.

With it baked into an image, you have reproducible results. If you build a new image and it doesn’t work anymore, you can immediately switch back to the old one and figure out the issue without pressure.

Nico_198X@europe.pub on 12 Jul 08:42 collapse

great thoughts, thank you for sharing! i’m still quite new to containerization.