You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Guessing it is because the docker-compose version used by autodeploy container and the docker-compose version installed are too different.
If indeed the cause, we will have to update docker-compose of all existing Pavics deployments. This is very disruptive for all existing hosts because they all have to co-ordinate for the rollout.
Another solution is for pavics-compose.sh to also run inside a docker image with docker-compose (the autodeploy docker image) so then any docker-compose update will be 100% transparent because the docker-compose on the host is not used anymore.
Running pavics-compose.sh inside a docker image will also fix a problem where sometime invoking it directly works but not when autodeploy invoke it because it is either missing a binary or a volume-mount. This will allow to catch autodeploy errors much earlier.
Another solution is for pavics-compose.sh to also run inside a docker image with docker-compose (the autodeploy docker image) so then any docker-compose update will be 100% transparent because the docker-compose on the host is not used anymore.
Not sure if this is an actual fix. If running in a docker, the docker engine it uses must be compatible to the docker-compose running inside it. It only moves the problem elsewhere, and can greatly complicate the definition of networks definition since they would now have to be bridged between the host and that internal-docker network
Not sure if this is an actual fix. If running in a docker, the docker engine it uses must be compatible to the docker-compose running inside it. It only moves the problem elsewhere, and can greatly complicate the definition of networks definition since they would now have to be bridged between the host and that internal-docker network
So far I've been able to run the older docker-compose v1 with the latest docker engine. Looks like there is great compatibility there.
Agreed that if the docker engine itself needs to be updated, all existing deployments will need to perform the upgrade manually. However at least we remove the need for manually updating the docker-compose as well.
Another reason for running pavics-compose.sh inside the same container used for the autodeploy is to fix a problem where sometime invoking pavics-compose.sh directly works but not when autodeploy invoke it because it is either missing a binary or a volume-mount. This will allow to catch autodeploy errors much earlier.
Guessing it is because the
docker-compose
version used by autodeploy container and thedocker-compose
version installed are too different.If indeed the cause, we will have to update
docker-compose
of all existing Pavics deployments. This is very disruptive for all existing hosts because they all have to co-ordinate for the rollout.Another solution is for
pavics-compose.sh
to also run inside a docker image withdocker-compose
(the autodeploy docker image) so then anydocker-compose
update will be 100% transparent because thedocker-compose
on the host is not used anymore.Running
pavics-compose.sh
inside a docker image will also fix a problem where sometime invoking it directly works but not when autodeploy invoke it because it is either missing a binary or a volume-mount. This will allow to catch autodeploy errors much earlier.Relate to #384
The text was updated successfully, but these errors were encountered: