Broken swarm, cannot get past errors after errors


I am closely following Docker Swarm Networking and Dynamic Reverse Proxy - Tech entrepreneur with a profound experience building distributed applications, author and well-known speaker. I have unwavering passion for cloud, fintech and startups. to get my first goal in running a little swarm.

It almost worked, I could reach traefik webpage but it didnt show any worker nodes, so I threw everything away and started all over.
But now, all I get is the message

Error response from daemon: This node is not a swarm manager. Use “docker swarm init” or “docker swarm join” to connect this node to swarm and try again

I even get this after completely removing docker (apt remove --purge docker-ce) and removing /var/lib/docker.

Example command

docker network create --driver overlay appnet

Then I found another script I could follow (Build a Traefik Proxy Image for Your Raspberry Pi on Docker Swarm - Ruan Bekker's Blog), but its the same deal.

Could anyone help me figuring this out?
I want to completely start over since I know something didnt work quite well.


docker-compose --version
docker-compose version 1.23.1, build b02f1306

docker --version
Docker version 18.09.0, build 4d60db4

docker-machine --version
docker-machine version 0.14.0, build 89b8332

docker info
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 18.09.0
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: c4446665cb9c30056f4998ed953e6d4ff22c7c39
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: fec3683
Security Options:
Profile: default
Kernel Version: 4.15.0-39-generic
Operating System: Ubuntu 18.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.701GiB
Name: honeycomb
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: h_ttps://
Experimental: false
Insecure Registries:
Live Restore Enabled: false
Product License: Community Engine

Hey! thats not a big deal.just enter into shell to your manager node or you can use
docker- machine ssh <manager’s name> "docker node ls "
to verify manager node is working fine