docker-archive / classicswarm

Swarm Classic: a container clustering system. Not to be confused with Docker Swarm which is at https://github.com/docker/swarmkit
Apache License 2.0
5.75k stars 1.08k forks source link

docker service update lets to add and remove several configs or secrets #2878

Closed valbuena closed 4 years ago

valbuena commented 6 years ago

Hi.

I would like docker swarm lets to me add/remove several configs/secrets

For example: $ docker service update \ --config-rm test-old-1.conf \ --config-rm test-old-2.conf \ --config-add source=test1,target=/etc/nginx/conf.d/test1.conf,mode=0440 \ --config-add source=test2,target=/etc/nginx/conf.d/test2.conf,mode=0440

Thank you.