container image specification

michabbs

Active Member
May 5, 2020
134
19
38
Is there any technical specification of images file created by vzdump?
It looks like normal tar file with full filesystem dump plus 2 extra files: pct.conf and pct.fw. Did I miss something?
Purpose of pct.conf is obvious. What actually is pct.fw? (It's always zero-length here...)
 
By "container image" I meant lxc, not qemu. :-)

Where does content of pct.fw come from? Is there way to generate it? (For example - pct.conf might be easy generated by "pct config", and of course it is also available in /etc/pve/lxc...)
 
If you add specific firewall rules to a container or VM you will see a /etc/pve/firewall/<vmid>.fw file.
Ach, thanks, I never used it... :)

BTW: I made small test: (1) added fw rule, (2) created snapshot of vm, (3) changed the fw rule, (4) restored the snapshot.
Surprisingly the fw rule was not restored to the "(1)" state. Is this a bug or feature? :-)
 
I made small test: (1) added fw rule, (2) created snapshot of vm, (3) changed the fw rule, (4) restored the snapshot.

firewall rules are restored from backups. snapshots do not contain this information
 
thats where the spec for the vma format is ;)
Well, I was just corrected, containers are backed up differently than VMs... my bad, sorry
 

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!