LXC: raw to system files?

sjau

New Member
Jul 9, 2014
8
0
1
Hi thereI just setup a new server with proxmox 4 and I see that that now LXC is being used.I wonder, is it possible with LXC also to get the "container" files as normal files and not as .raw file onto the host like it used to be with OpenVZ?
 
you can do it, with specify size=0 for the disk.

(but they are no quota like openvz in this case)
 
That works. But then I tried to install some binary that requires sudo. So I did install sudo. But when I tried to install that binary it complained about not being able to edit the /etc/sudoers file. I even chmodded /etc/sudoers to 777 and tried to run that installation as root:
Do you want to copy executable files to /usr/local/bin directory? (Login as root is needed.) (y/n) ysudo: unable to stat /etc/sudoers: Permission deniedsudo: no valid sudoers sources found, quittingsudo: unable to initialize policy pluginsudo: unable to stat /etc/sudoers: Permission deniedsudo: no valid sudoers sources found, quittingsudo: unable to initialize policy pluginsudo: unable to stat /etc/sudoers: Permission deniedsudo: no valid sudoers sources found, quittingsudo: unable to initialize policy pluginsudo: unable to stat /etc/sudoers: Permission deniedsudo: no valid sudoers sources found, quittingsudo: unable to initialize policy pluginFiles were copied successfully.
 
Last edited:

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!