Upgrade Docker to Swarm with existing Portainer

Hi,

I use Portainer with multiples “Stack”. I am actually not in Swarm so my stacks use libcompose.

I would like to migrate to Swarm to use some features.

After “docker swarm init” what will be the behavior of portainer ? :

  • Stay unchanged : So how can I migrate to use swarm api instead of libcompose. (create another portainer and copy paste with some changes ? )
  • Changed everything to use swarm api by default : How can I edit my current stack created with libcompose ?

no issue…

Deployed a compose file whilst not in swarm…

Then did a swarm init, restarted Portainer, logged in and got…

Note: no services, as compose files are not swarm aware.

Hi,

Thanks for the answer.