microk8s inspect incorrectly claims that docker is installed
See original GitHub issueRunning microk8s inspect
was telling me that docker was installed. I fully removed including running apt purge
it and still got the following message:
WARNING: Docker is installed.
File "/etc/docker/daemon.json" does not exist.
You should create it and add the following lines:
{
"insecure-registries" : ["localhost:32000"]
}
and then restart docker with: sudo systemctl restart docker
It was only after looking at the code that I figured out what was actually happening. It turns out that that just having /etc/docker
is all that is needed to get this warning.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
microk8s inspect incorrectly claims that docker is installed #1721
When I installed microk8s it complained of docker being installed. I deleted the directory and all was good after that. I think a...
Read more >Troubleshooting - MicroK8s
It is important to recognise that things can go wrong. But MicroK8s gives you tools to help work out what has gone wrong,...
Read more >A local Kubernetes with microk8s - ITNEXT
This will install the microk8s command and an api-server, controller-manager, scheduler, etcd, kubelet, cni, kube-proxy, and docker.
Read more >Microk8s stopped working. Status says not running, inspect ...
One node had gone offline (microk8s not running) due to a stuck unsuccessful auto-refresh of the microk8s snap.
Read more >Install a local Kubernetes with MicroK8s - Ubuntu
Installation is limited by how fast you can download a couple of hundred megabytes and the removal of MicroK8s leaves nothing behind.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
On a previous server I had docker installed, then I uninstalled it. It left the directory
/etc/docker
behind. When I installed microk8s it complained of docker being installed. I deleted the directory and all was good after that. I think a better check would be/bin/docker
.Thank you @neoaggelos ❤️