How to install Networks on a LXC container with the transfer of the data folder on the ball in the host machine or somewhere else?

Immediately to fully customize the ball to your container failed, so I used the medium configuration of the container and thus remontiroval the ball in the FS of the container. Ball available, it is possible to enter and create files and folders.
But when reconfigured, hitlab yelled that he, you know, assumed that the owner of the folder should be the git user:git uid/gid 998. How I did not pick, did not understand how to change the owner, which by default is the user ubuntu.
Of course I run the standard command assignment of the owner. It was just done quietly, but in practice nothing has changed.
Actually, if encountered, the Council really does not hurt.
June 10th 19 at 15:09
3 answers
June 10th 19 at 15:11
In General it was much more trivial. You can attach the accessories folder with LXC and it works.
June 10th 19 at 15:13
Not familiar with the topic of Galaba, but the rights on the folder to do so
chown-R git:git <folder>
This is just not working) is Performed, but the effect is zero. How was the owner of a user of ubuntu, and still is. - osvaldo_Emard commented on June 10th 19 at 15:16
from Ruta accomplish!
sudo chown-R git:git <folder> - Marilou_MacGyver commented on June 10th 19 at 15:19
in the container and so all root runs. However, tried the same effect. - osvaldo_Emard commented on June 10th 19 at 15:22
June 10th 19 at 15:15
the mount options you can specify the uid of GUID
Thank you, once rigged, set up through a CIFS first, on the host machine point and created its root, and not from the default user and somehow it helped (you just do not understand how). - osvaldo_Emard commented on June 10th 19 at 15:18

Find more questions by tags LXCSambaUbuntu ServerGitLab