Comment on Docker in LXC vs VM
sugar_in_your_tea@sh.itjust.works 1 day agoYou don’t have to revert 8 services, you can stop/start them independently: docker compose stop <service name>
.
This is actually how I update my services, I just stop the ones I want to update, pull, and restart them. I do them one or two at a time, mostly to mitigate issues. The same is true for pulling down new versions, my process is:
- edit the docker-compose file to update the image version(s) (e.g. from 1.0 -> 1.1, or 1.1 -> 2.0)
- pull new images (doesn’t impact running services)
docker compose up -d
brings up any stopped services using new image(s)- test
- go back to 1 until all services are done
I do this whenever I remember, and it works pretty well.
non_burglar@lemmy.world 1 day ago
Oh, nice. Thanks!
This is me showing my docker ignorance, I suppose.