Docker Community Forums

Share and learn in the Docker community.

Bash Script deployment to Stack Deployment Upgradation

Hi,

I have an existing application deployment with user defined overlay networks in a docker swarm. This was initially done using bash scripts, hence the docker service names are simple and precise.
Now, we were planning to introduce “docker stack” for the existing deployment. Is there any way to keep the service naming convention and overlay network names exactly the same for deployment using “docker stack deploy”?

Any suggestions would be highly appreciated.

I am afraid you will need to elaborate more on this.
Please provide an example of what you are trying to archive.