Docker Community Forums

Share and learn in the Docker community.

Docker swarm init makes docker go corrupted


(Alexey) #1

I started learning docker recently and I set up a virtual machine (VirtualBox) with Lubuntu image:

  • Linux verion: Linux 4.18.0-10-generic i686
  • Docker version: 18.06.1-ce , API-version: 1.38 , Go version: go1.10.4 , Git commit: e68fc7a

So unless I have started acquaintance with swarm everything was going smoothly. However after I executed docker swarm init daemon seemed going down and whatever command I’m now trying to execute, it responds with: Cannot connect to Docker daemon at..

When I’m trying to run sudo dockerd it shows the output where there’re some warnings like failed to load plugin io.containerd.snapshotter.v1.btrfa and one error saying error creating cluster object... error="name conflicts with an existing object" module=node . Eventually the output ends with floating point exception with some address in memory.

Restarting does not help. The only things that makes docker run is reverting to the snapshot that I luckily made before calling swarm init .

So I would appreciate your help or advice how I do fix everything out.