Long story short
We are trying to update a service using the library. However, the library does not offer the same functionality as the official specifications and it is just offering to perform a rollback.
In order to update the service, we are now deleting and creating it again which leaves us the service lacking the previous spec.
Docker official specs:
docker-py
docker engine API
- Expected behaviour: service update method match docker-py spec or docker Engine API spec
- Actual behaviour: missing update service features (only rollback is allowed)
How to reproduce
- We first register a service by calling
docker_client.services.create(data) where data matches the required arguments from aiodocker
- When trying to update the service registered in the 1st step, we are not able to pass the new spec as a method parameter and we are just able to send the rollback
Your environment
- Python 3.7.6
- Docker version 20.10.11, build dea9396
- aiodocker==0.19.1
Long story short
We are trying to update a service using the library. However, the library does not offer the same functionality as the official specifications and it is just offering to perform a rollback.
In order to update the service, we are now deleting and creating it again which leaves us the service lacking the previous spec.
Docker official specs:
docker-py
docker engine API
How to reproduce
docker_client.services.create(data)where data matches the required arguments from aiodockerYour environment