# Running git commands in private repo inside docker not working correctly

**URL:** <https://meta.discourse.org/t/running-git-commands-in-private-repo-inside-docker-not-working-correctly/67321>\
**Category:** Development\
**Created:** [02.Август.2017 13:33:01 UTC](https://meta.discourse.org/t/running-git-commands-in-private-repo-inside-docker-not-working-correctly/67321 "2017-08-02T13:33:01Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![net\_deamon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/net_deamon/32/70126_2.png) [@net\_deamon](https://meta.discourse.org/u/net_deamon)\
**Post date:** [04.Август.2017 00:42:31 UTC](https://meta.discourse.org/t/running-git-commands-in-private-repo-inside-docker-not-working-correctly/67321/3 "2017-08-04T00:42:31Z")

</div>

I changed the .ssh folder to 700 permission, and its contents ( `id_rsa` and `id_rsa.pub` ) to 600.

But still I got 0 when I checked for `commit_behind`.

---

_[View the full topic](https://meta.discourse.org/t/running-git-commands-in-private-repo-inside-docker-not-working-correctly/67321)._
