Deploying containers in a swarm environment: Stack Modification

More manuals

Stack Modification

In case you need to modify any parameter of your Compose file or when a container is stopped or orphaned, maybe it is not enough updating the system. Therefore, you should need to remove and create it again.


Go to Services subsection, select all containers, and remove them.

Then, go to the "Editor" tab and modify the parameters:

Enable the "Prune services" option and click "Update the stack" to recreate the containers.

It is essential to follow this sequence. For example, if you first modify the Compose file and then remove the containers, you will lose these modifications.