We do not recommend upgrading existing Docker Standalone environments to Docker Swarm because you will lose your stacks. We do support migrating a stack from one environment to another.
Our recommended approach is to:
- Add the Docker Swarm environment to your Portainer installation.
- Migrate your stacks over to the new environment.