First time I've ever had a docker image change und...
# random
v
First time I've ever had a docker image change under my feet and cause an issue. https://hub.docker.com/r/linuxserver/openssh-server/tags Changed 4 days ago, breaks my workflow 🤤 . On the other hand things are working. @melissa_greenbaum what's your feelings on just maintaining your own docker files for "simple" things like testing an openssh-server. My life would have been easier here. Curious what you think
m
I feel your pain 😅. I definitely have leaned towards maintaining my own images for things. Generally never using the tag
latest
if I’m not 😬 but that still doesn’t guarantee anything.
v
I think I'm done with
latest
now 😄 simple good idea! I think the biggest issue I have with the docker hub containers is most of them use Alpine and I'm not super familiar with it. It also just looks more complicated to me than Ubuntu / RHEL when I peak at their docker files.
a
fwiw, all tagged images can change, not just
latest
, although hopefully this is rare. I've used the image's sha in the
FROM
to guard against changing tags, but this is kind of a pain because it's hard to tell what version the sha points to without docs that you have to keep in sync, and it's annoying to get the new sha rather than just updating the version number.