Answer the question
In order to leave comments, you need to log in
How to set up a non-privileged lxc container?
I found such a manual, but I can’t stick which user I mean:
For example, you can create a container and specify 4 fields (1 field - u or g, 2 field - the first UID in the container, 3 field - the first UID in the host, 4 field - range ):
lxc.id_map = u 0 100000 65536
lxc.id_map = g 0 100000 65536
This would mean that there is one UID map and one GID map for my container, which maps the UID/GID of the container from 0 to 65536 to UID/ Host GID from 100000 to 165536 (100000+65536). For this mapping to work, you need to tell the user (in the stgraber example, the account on Stefan Graber's laptop) these ranges:
In the /etc/subuid file - stgraber:100000:65536
In the /etc/subgid file - stgraber:100000:65536
Answer the question
In order to leave comments, you need to log in
SELECT *
FROM `questions` AS `q`
JOIN (
SELECT `question_id`, COUNT(*) AS `count`
FROM `answers`
GROUP BY `question_id`
HAVING `count` > 100
) AS `a` ON `a`.`question_id` = `q`.`id`
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question