Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is dockersock mount still needed? #971

Closed
moensch opened this issue May 11, 2020 · 1 comment
Closed

Is dockersock mount still needed? #971

moensch opened this issue May 11, 2020 · 1 comment
Labels

Comments

@moensch
Copy link

moensch commented May 11, 2020

I am running containerd on my hosts, provisioned via https://github.com/kubernetes-sigs/cluster-api-provider-aws (k8s 1.17.x) and my hosts don't run docker.

I noticed the DaemonSet still has these two volume mounts in both, the release YAML and the helm chart:

            - mountPath: /var/run/docker.sock
              name: dockersock
            - mountPath: /var/run/dockershim.sock
              name: dockershim

I found a merged PR that, as I understand it, made this project runtime agnostic: #371

With that in mind, is this socket mount still needed? I ask because on systems running containerd it does not exist.

@mogren
Copy link
Contributor

mogren commented May 11, 2020

Hi @moensch ,
You are correct that the docker.sock is not needed for v1.6.0 and later, but in case you want to roll back to v1.5.7 or any earlier version, it needs to be there. We kept it in the sample config for that reason but as you said, for running on containerd or CRI-O, you don't need to mount it at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants