4
lorentz
3y

I seem to have built my app and tagged it as caddy:alpine by accident. How does this happen and why does Docker allow you to override images without specifying something as obvious as --override-registry-image on the command line?

Comments
  • 0
    Also I will never ever include --silent in an npm call with dynamic arguments. It's fucking hard to differentiate between Caddy throwing a fit over my shitty Caddyfile and npm complaining that
  • 0
    @homo-lorens
  • 0
    makes no sense
  • 0
    If you did not drop the previous image, you can just retag the old image correctly.
    I use it all the time to "go back" to a previous build.
    Just look atvthe docker images with the same name, and tag using the image hash.
  • 0
    @magicMirror I just deleted it since there are no images on my laptop that I can't redownload, and rebuilt the compose project.
  • 0
    @homo-lorens nevermind then.
  • 0
    @magicMirror Yeah, the only thing lost is the hours I spent trying to figure out why caddy (actually npm) doesn't like my Caddyfile.
Add Comment