Difference between revisions of "PVE LXC Containers"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
= Building a Container = | = Building a Container = | ||
== Templates == | == Templates == | ||
LXC Containers start with a template. | |||
For our example here, we're going to start with a basic Debian 11 template. | |||
This means we need to ensure we have the template on the PVE host. | |||
* Sign into the PVE UI & select your '''Local''' datastore | |||
* Select the '''CT Templates''' storage | |||
* Click the '''Templates''' button | |||
* Select a template package (we're going with '''debian-11-standard''') then hit the '''Download''' button | |||
== Creating the Container == | == Creating the Container == |
Revision as of 22:19, 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.
Building a Container
Templates
LXC Containers start with a template.
For our example here, we're going to start with a basic Debian 11 template.
This means we need to ensure we have the template on the PVE host.
- Sign into the PVE UI & select your Local datastore
- Select the CT Templates storage
- Click the Templates button
- Select a template package (we're going with debian-11-standard) then hit the Download button
Creating the Container
Stumbling Blocks
Standard LXC containers built upon Debian seem to block non-root users from using ping...
ping: socket: Operation not permitted
Solution #3 seems most appropriate...
sudo chmod u+s /usr/bin/ping