software:lxc
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| software:lxc [2021/04/16 05:43] – created - external edit 127.0.0.1 | software:lxc [2025/10/23 15:53] (current) – [LXC containers on host kb0odu] timb | ||
|---|---|---|---|
| Line 17: | Line 17: | ||
| If a user was created on an earlier release, it can be granted a range of ids using usermod, as follows: | If a user was created on an earlier release, it can be granted a range of ids using usermod, as follows: | ||
| - | < | + | < |
| sudo usermod -v 100000-200000 -w 100000-200000 user1 | sudo usermod -v 100000-200000 -w 100000-200000 user1 | ||
| </ | </ | ||
| Line 47: | Line 47: | ||
| Reference: https:// | Reference: https:// | ||
| + | |||
| + | ==== LXC containers on host kb0odu ==== | ||
| + | |||
| + | I have some containers running under the root account on kb0odu and some running under my account. | ||
| + | |||
| + | === List Running Containers === | ||
| + | |||
| + | **Only running containers** | ||
| + | |||
| + | <code bash> | ||
| + | timothy@kb0odu: | ||
| + | NAME | ||
| + | ------------------------------------------------ | ||
| + | blog | ||
| + | mysql RUNNING | ||
| + | mywiki | ||
| + | wordpress | ||
| + | timothy@kb0odu: | ||
| + | </ | ||
| + | |||
| + | **All containers** | ||
| + | |||
| + | <code bash> | ||
| + | timothy@kb0odu: | ||
| + | NAME | ||
| + | ------------------------------------------------ | ||
| + | blog | ||
| + | mongo STOPPED | ||
| + | mysql RUNNING | ||
| + | mywiki | ||
| + | postgres | ||
| + | wordpress | ||
| + | |||
| + | timothy@kb0odu: | ||
| + | NAME STATE IPV4 IPV6 AUTOSTART | ||
| + | -------------------------------------------- | ||
| + | puppet | ||
| + | tj RUNNING | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| ===== System Space ===== | ===== System Space ===== | ||
software/lxc.1618551822.txt.gz · Last modified: by 127.0.0.1
