Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
tools:lxc [2022/09/03 02:26] darron [Unprivileged containers] |
tools:lxc [2024/04/28 18:36] darron [Initialise] |
||
---|---|---|---|
Line 31: | Line 31: | ||
==systemd== | ==systemd== | ||
< | < | ||
+ | systemctl disable lxc-monitord.service | ||
+ | systemctl mask lxc-monitord.service | ||
systemctl disable lxc-net.service | systemctl disable lxc-net.service | ||
systemctl disable lxc.service | systemctl disable lxc.service | ||
Line 38: | Line 40: | ||
< | < | ||
- | sed -i ' | + | sed -i ' |
- | sed -i ' | + | sed -i ' |
</ | </ | ||
Line 152: | Line 154: | ||
< | < | ||
lxc-create -n terminator -t debian -- -r bullseye -a armhf | lxc-create -n terminator -t debian -- -r bullseye -a armhf | ||
+ | </ | ||
+ | |||
+ | Install bookworm | ||
+ | |||
+ | < | ||
+ | lxc-create -n cracker -t debian -- -r bookworm -a armhf | ||
</ | </ | ||
=== Configure === | === Configure === | ||
Line 262: | Line 270: | ||
Now we can start and stop the container, attach to it, etc. | Now we can start and stop the container, attach to it, etc. | ||
- | ===Runit | + | ===Runit=== |
Start container and login as root | Start container and login as root |