# Bind mount docker socket?

**URL:** <https://forums.balena.io/t/bind-mount-docker-socket/3245>\
**Category:** Product support\
**Created:** [May 29, 2018, 8:13pm UTC](https://forums.balena.io/t/bind-mount-docker-socket/3245 "2018-05-29T20:13:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kriztoph](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Kriztoph](https://forums.balena.io/u/Kriztoph)\
**Post date:** [May 29, 2018, 8:13pm UTC](https://forums.balena.io/t/bind-mount-docker-socket/3245/1 "2018-05-29T20:13:50Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![zwalchuk](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/zwalchuk/32/842_2.png) [@zwalchuk](https://forums.balena.io/u/zwalchuk)\
**Post date:** [May 29, 2018, 9:36pm UTC](https://forums.balena.io/t/bind-mount-docker-socket/3245/4 "2018-05-29T21:36:36Z")

</div>

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](https://docs.resin.io/learn/develop/multicontainer/#labels).
