Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

Can I mount docker.sock to a pod? #701

Open
xuchenhao001 opened this issue Feb 2, 2018 · 2 comments
Open

Can I mount docker.sock to a pod? #701

xuchenhao001 opened this issue Feb 2, 2018 · 2 comments

Comments

@xuchenhao001
Copy link

I want to call docker engine from my hyper pod. However, it seems that I can mount host's /var/run/docker.sock to my pod but I cannot connect to docker endpoint through that.

@gnawux
Copy link
Member

gnawux commented Feb 2, 2018

no, you can't map a socket as volume.

@xuchenhao001
Copy link
Author

Ok, then what should I do if I want to start another hyper/docker container in a hyper pod?
When I use docker, I simply mount /var/run/docker.sock to my container and that works.

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

No branches or pull requests

2 participants