FAQ: how to launch `hg` in the Docker container
It's a recurring question, should be added as a FAQ item.
It's crucial to have the proper user and configuration, with something like (from memory, untested):
su git -s /bin/bash
HGRCPATH=/etc/gitlab/heptapod.hgrc:/opt/gitlab/etc/docker.hgrc hg …