If by app you mean container, no. You pull the latest image and rerun docker compose. It will make only the necessary changes, in this case restarting the container to update.
Comment on I'm using compose wrong and I know it.
MonkCanatella@sh.itjust.works 1 year ago
I’ve always heard the opposite advice - don’t put all your containers in one compose file. If you have to update an image for one app, wouldn’t you have to restart the entirety of your apps?
SheeEttin@lemmy.world 1 year ago
lue3099@lemmy.world 1 year ago
You can reference a single or multiple containers in a compose stack.
docker compose -f /path/to/compose.yml [pull/up]
MonkCanatella@sh.itjust.works 1 year ago
whoa, I never knew that. Great tip!