Answer the question
In order to leave comments, you need to log in
What to use to manage versions of docker containers remotely?
Hello. I have several groups of devices on Raspberry Pi, on which applications are spinning in the docker. Now, to deploy a new version of the software, I have to manually connect via SSH, update the image version in docker-compose.yml, and run the new version. And so 10 times. It is important that there may be different versions of images in groups (one, for example, is located in the office, the other is used to test new versions, and the rest already belong to clients), and, for each device, the environment parameters are slightly different - they set the UUID of the device .
What solutions are there to automate container versioning and configuration management?
Answer the question
In order to leave comments, you need to log in
In total, I decided as follows:
1) I put the application configuration through environment variables into the services.env file
2) I put the reference docker-compose.yml in a separate repository, I specified the `env_file` parameter for services
3) I configured the deployment to TeamCity via SSH - copy via scp, pull new images and restart services
More info Environment variables in Compose
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question