User Tools

Site Tools


software:lxc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:lxc [2025/10/23 01:55] – [LXC containers on host kb0odu] timbsoftware: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:
  
-<code>+<code bash>
 sudo usermod -v 100000-200000 -w 100000-200000 user1 sudo usermod -v 100000-200000 -w 100000-200000 user1
 </code> </code>
Line 54: Line 54:
 === List Running Containers === === List Running Containers ===
  
-**Only running** containers+**Only running containers**
  
-<code> +<code bash
-timothy@kb0odu:~$sudo  lxc-ls --running -1 -f +timothy@kb0odu:~$ sudo  lxc-ls --running -1 -f
-NAME       STATE    IPV4         IPV6  AUTOSTART +
------------------------------------------------- +
-blog       RUNNING  10.50.1.70       NO +
-mysql      RUNNING  10.50.1.138  -     NO +
-mywiki     RUNNING  10.0.3.86    -     NO +
-wordpress  RUNNING  10.50.1.117  -     NO +
-timothy@kb0odu:~$ sudo lxc-ls --running -1 -f+
 NAME       STATE    IPV4         IPV6  AUTOSTART NAME       STATE    IPV4         IPV6  AUTOSTART
 ------------------------------------------------ ------------------------------------------------
Line 76: Line 69:
 **All containers** **All containers**
  
-<code>+<code bash>
 timothy@kb0odu:~$ sudo lxc-ls -1 -f timothy@kb0odu:~$ sudo lxc-ls -1 -f
 NAME       STATE    IPV4         IPV6  AUTOSTART   NAME       STATE    IPV4         IPV6  AUTOSTART  
software/lxc.1761184512.txt.gz · Last modified: by timb