[WARNING Service-Docker]: docker service is not enabled, please run 'systemctl enable docker.servic

478 views
Skip to first unread message

bkr

unread,
Mar 6, 2018, 8:08:50 AM3/6/18
to Kubernetes developer/contributor discussion
Hello , 

I am trying to setup the k8 cluster. when I run kubelet init , I get this warning . 

 [WARNING Service-Docker]: docker service is not enabled, please run 'systemctl enable docker.service'

But my docker service is up and running . Not sure whats the issue . 

Appreciate your help


Paul Michali

unread,
Mar 6, 2018, 10:01:40 AM3/6/18
to Kubernetes developer/contributor discussion
Do you mean "kubeadm init"? Using KubeAdm?

What version of docker are you using?
What OS/platform?
What version of K8s?

With my setup I'm using docker 17.03.2-ce, and I have added my user account to the docker group, so can do docker commands w/o being root.

Regards,

PCM

bkr

unread,
Mar 6, 2018, 12:54:12 PM3/6/18
to Kubernetes developer/contributor discussion
Thanks for your response 

yes i was during kubeadm init 

docker 1.12.6
RHEL 7
k8s : 
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.3", GitCommit:"d2835416544f298c919e2ead3be3d0864b52323b", GitTreeState:"clean", BuildDate:"2018-02-07T12:22:21Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}

bkr

unread,
Mar 6, 2018, 1:21:38 PM3/6/18
to Kubernetes developer/contributor discussion
When I run the kubeadm init I get the below details at first :

    [WARNING FileExisting-crictl]: crictl not found in system path
        [WARNING HTTPProxy]: Connection to "https://10.19.40.233:6443" uses proxy "http://proxy.ebiz.com:80". If that is not intended, adjust your proxy settings
        [WARNING HTTPProxyCIDR]: connection to "10.16.0.0/12" uses proxy "http://proxy.ebiz.com:80". This may lead to malfunctional cluster setup. Make sure that Pod and Services IP ranges specified correctly as exceptions in proxy configuration
        [WARNING Service-Docker]: docker service is not enabled, please run 'systemctl enable docker.service'

can you please help me to understand the above warning . Docker status shows its active bu sill the warning comes.
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages