Difference between revisions of "PVE LXC Containers"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
(Created page with "<span style="color: rgb(132, 63, 161);" >Note: I am just beginning to learn the ins & outs of LXC containers.</span> So far, LXC containers are just like regular Linux (for the most part...) & the same procedures apply when building. = Stumbling Blocks = == Standard LXC containers built upon Debian seem to block non-root users from using ping... == '''ping: socket: Operation not permitted''' [https://www.suse.com/support/kb/doc/?id=000020581 Discussion & a solution]...")
 
Line 11: Line 11:
Solution #3 seems most appropriate...
Solution #3 seems most appropriate...


As a bonus, this works for other tools that are limited to root-users.
* <code>sudo chmod 4755 /usr/bin/ping</code>

Revision as of 21:18, 9 April 2023

Note: I am just beginning to learn the ins & outs of LXC containers.

So far, LXC containers are just like regular Linux (for the most part...) & the same procedures apply when building.

Stumbling Blocks

Standard LXC containers built upon Debian seem to block non-root users from using ping...

ping: socket: Operation not permitted

Discussion & a solution

Solution #3 seems most appropriate...

  • sudo chmod 4755 /usr/bin/ping