I’m running Docker 1.12.3 on Windows 10 and created a manager swarm and 2 worker Hyper-V VM’s going through some tutorials. On my machine (not a VM) I joined the swarm as another manager. After I was done with the tutorials I left the swarm on my machine and it seemed like it worked. I then deleted the docker machine VM’s and tried docker swarm init
but got node is already part of swarm. Then I tried docker swarm leave --force
and got context deadline exceeded. I also tried docker swarm init --force-new-cluster
and same error context deadline exceeded.
Searches haven’t given much info on things to try so I decided to uninstall Docker, reboot, then reinstall. I still get the same error and docker info
shows my swarm status as pending. I also have all my previous images.
Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 8
Server Version: 1.12.3
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 18
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: null overlay bridge host
Swarm: pending
NodeID: bd1v4un37imgptrj1dxfh7sqz
Is Manager: false
Node Address: 192.168.65.2
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.27-moby
Operating System: Alpine Linux v3.4
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 1.919 GiB
Name: moby
ID: 54VB:QEBD:KZ3G:DXW6:PXII:OY7A:VXUU:EFNH:RNOD:T6UO:MWUM:XBKD
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): true
File Descriptors: 13
Goroutines: 41
System Time: 2016-11-30T17:04:53.0006032Z
EventsListeners: 0
Registry: https://index.docker.io/v1/
Insecure Registries:
127.0.0.0/8
Any ideas on how to get rid of the swarm? Should I uninstall Docker and delete the MobyLinux VM, then reinstall? I don’t want to totally mess things up so I can’t install Docker at all.