Hi everyone,
I managed to get things sort of sorted out:
1) I ran 'sudo apt-get remove docker*' on all nodes.
2) I then removed /etc/docker /var/lib/docker /etc/init.d/docker /run/docker on each node.
3) I ran 'sudo apt-get clean' on all nodes
4) rebooted all nodes
Starting from scratch I downloaded the get-docker.sh and copied it to each node and ran the following:
sudo sh get-docker.sh
sudo usermod -aG docker pi
sudo systemctl start docker.service
sudo systemctl enable docker.service
docker info
docker run hello-world
The next step was to run 'docker init swarm' on one of the nodes to create the manager node. This looks to have completed properly as I got 'swarm initialized....'
At this point, the responsiveness of the node fell through the floor.. top shows CPU 98% idle but keystrokes etc are delayed by 30-40 seconds. I am thinking maybe memory?? but am not sure what the next step would be after this...
As an FYI.. the whole issue of the master node hanging went away when I switched from Raspberry Pi OS to Ubuntu 20 server.. I even managed to get kubernetes installed..
What made this interesting was that the master is a Pi 3b with an ARM7 V4 while the rest are Pi 2B+ with ARM7 v5..
I may have spoken to soon. It finished running sudo sh get-docker.sh, which it hadn't before, but it still fails to start Docker Application Container Engine.
I switched over to Ubuntu and not only did Docker install, I got Kubernetes installed and working as well.. I had to try a couple of minor things, but mostly missing packages
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi everyone,
I managed to get things sort of sorted out:
1) I ran 'sudo apt-get remove docker*' on all nodes.
2) I then removed /etc/docker /var/lib/docker /etc/init.d/docker /run/docker on each node.
3) I ran 'sudo apt-get clean' on all nodes
4) rebooted all nodes
Starting from scratch I downloaded the get-docker.sh and copied it to each node and ran the following:
sudo sh get-docker.sh
sudo usermod -aG docker pi
sudo systemctl start docker.service
sudo systemctl enable docker.service
docker info
docker run hello-world
The next step was to run 'docker init swarm' on one of the nodes to create the manager node. This looks to have completed properly as I got 'swarm initialized....'
At this point, the responsiveness of the node fell through the floor.. top shows CPU 98% idle but keystrokes etc are delayed by 30-40 seconds. I am thinking maybe memory?? but am not sure what the next step would be after this...
Thanks for the outline of step by step commands. This worked for me also on RPI3
As an FYI.. the whole issue of the master node hanging went away when I switched from Raspberry Pi OS to Ubuntu 20 server.. I even managed to get kubernetes installed..
What made this interesting was that the master is a Pi 3b with an ARM7 V4 while the rest are Pi 2B+ with ARM7 v5..
Thank you, @william bell! That did the trick!
I may have spoken to soon. It finished running
sudo sh get-docker.sh
, which it hadn't before, but it still fails to start Docker Application Container Engine.I switched over to Ubuntu and not only did Docker install, I got Kubernetes installed and working as well.. I had to try a couple of minor things, but mostly missing packages