S
S
Sergey Durnov2017-12-14 06:35:35
Samba
Sergey Durnov, 2017-12-14 06:35:35

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

It was not possible to fully configure the ball right away and connect it in the container, so I used the container configuration tools and thus mounted the ball in the container's FS. The ball is available, you can go into it and create files and folders.
But during the reconfiguration, gitlab yelled that he, you see, assumed that the user git: git uid / gid 998 should be the owner of this folder. No matter how much I poked around, I did not understand how to change the owner, which by default is the user ubuntu .
Of course, I ran the standard assign owner command. It just ran quietly, but in practice, nothing has changed.
Actually, if anyone has come across, the advice does not hurt much.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey Durnov, 2017-12-18
@Boyd_Rice

In general, everything turned out to be much more trivial. You can rewind the folder with the standard LXC command and it works.

X
x-sive, 2017-12-14
@x-sive

I'm not familiar with the gitlab theme, but the rights to the folder are done like this
chown -R git:git <папка>

P
Puma Thailand, 2017-12-14
@opium

in the mount options you can specify a uid guide

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question