hyperd
hyperd copied to clipboard
Can I mount docker.sock to a pod?
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.
no, you can't map a socket as volume.
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.