Bind mount docker socket?

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.


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: