Anyone know if I can bind mount the docker socket so I can run docker commands from within my app? Specifically, I am wanting to use the docker engine API from golang app.
/var/run/docker.sock is what I need to mount.
Thanks.
Anyone know if I can bind mount the docker socket so I can run docker commands from within my app? Specifically, I am wanting to use the docker engine API from golang app.
/var/run/docker.sock is what I need to mount.
Thanks.
The io.resin.features.balena-socket
label can be used to bind mount the balena container engine socket into the container. See here for more about labels: https://docs.resin.io/learn/develop/multicontainer/#labels.