[SOLVED] No pve folder in LxC containers (new install)

mascal-labo

New Member
Jan 7, 2025
3
0
1
Hi,

Trying to set up a small homelab on a laptop, everything was fine with Proxmox baremetal install, and then creation of two LxC.
Started to play a bit and realised I have no "pve" folder in /etc/ in both containers.

Is this normal?

Setup:
- Proxmox VE 8.3.2
- Ubuntu 22.04 template
- 1 HDD for now in the laptop

and here the content of /etc/ as an example of one LxC:

1736276447139.png

Thanks in advance,
 
Last edited:
Trying to set up a small homelab on a laptop, everything was fine with Proxmox baremetal install, and then creation of two LxC.
Started to play a bit and realised I have no "pve" folder in /etc/ in both containers.

Is this normal?
Why would you expect a /etc/pve/ directory inside a container? Only if you install (a nested) Proxmox VE in a Debian container, it would have that. Containers share the Linux kernel with the Proxmox host but not the filesystem.
 
Thanks, makes sense now.
I was trying to install a package with snap but got an error. Unique solution was to edit the container configuration file which was expected to be in /etc/pve/lxc/...

I guess best is to use a different way of install...
 
I was trying to install a package with snap but got an error.
It's not clear what you are trying to do and what error you got exactly.
Unique solution was to edit the container configuration file which was expected to be in /etc/pve/lxc/...
The container configuration file is on the Proxmox host which should have a /etc/pve/lxc/ directory, but that is only reachable from the Promox host (console or ssh).
I guess best is to use a different way of install...
If you explain what you are trying to achieve or the errors you encounter, maybe people here can help. "Started to play a bit" and "trying to install a package with snap" is not specific enough, sorry.
 
  • Like
Reactions: Johannes S

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!