Install failed due to docker swarm initialize failed
To Reproduce
- add
"live-restore": truein/etc/docker/daemon.json - restart docker
systemctl restart docker - install dokploy
curl -sSL https://dokploy.com/install.sh | sh
Current vs. Expected behavior
raise an error instead of successful message if docker swarm initalize failed
Provide environment information
Operating System:
OS: Debian 12
Arch: amd64
Dokploy version: latest
Which area(s) are affected? (Select all that apply)
Installation
Additional context
Hi, I think the message is clear, you can't use live-restore flag in docker configuration with docker swarm, dokploy depends a lot on docker swarm to work well.
hi @Siumauricio , I think the installation is not finished and the message tells me to wait 15 seconds for the server to start. but there is nothing at all after 15 seconds, nothing happened on 3000. I were not sure what's the next step, maybe a friendly remind is better
@jiz4oh The problem is that you are using a flag that is not supported by docker swarm, I think it would be good to exit the script if there is an error when trying to initialize docker swarm.