Hey guys,
Please let me introduce myself first since this is my first post here.
I have been in the IT industry for 15 years, 99% of the time on Microsoft technologies and since last year i started to delve in the Open Source world (never too late man!)
So, i've got a Proxmox lab, created an unprivileged CT with debian 10 and proceed to install docker-CE, why? cause i wanted to try Nginx Proxy Manager and it's only available in docker.. anyway, everything works as expected, BUT i wanted to try the backup and restore of the CT, wich failed, the error?:
I believe it is related to having docker inside the unprivileged container (the permits error), since it's a test environment i can create a new CT with extra options if needed to be able to restore an unprivileged CT with docker images inside, but what would that be? is it posible at all?
Thanks all for this great piece of software and please bear with me, im new to all this
Something to have in mind:
Yes it was created as an unprivileged CT from the start
Restoring it as privileged would not be the best scenario i believe, it would be losing the unprivileged CT "extra security" right?
Please let me introduce myself first since this is my first post here.
I have been in the IT industry for 15 years, 99% of the time on Microsoft technologies and since last year i started to delve in the Open Source world (never too late man!)
So, i've got a Proxmox lab, created an unprivileged CT with debian 10 and proceed to install docker-CE, why? cause i wanted to try Nginx Proxy Manager and it's only available in docker.. anyway, everything works as expected, BUT i wanted to try the backup and restore of the CT, wich failed, the error?:
extracting archive '/mnt/pve/Local-Storage/dump/vzdump-lxc-104-2021_02_01-10_53_35.tar.zst'
tar: ./var/lib/docker/overlay2/aef29de8ddf4de5cb1fe6fb4ee5bd5c407573124e646c941319ca17d6212d127/diff/tmp/openresty: Cannot mknod: Operation not permitted
tar: ./var/lib/docker/overlay2/aef29de8ddf4de5cb1fe6fb4ee5bd5c407573124e646c941319ca17d6212d127/diff/tmp/install-openresty: Cannot mknod: Operation not permitted
tar: ./var/lib/docker/overlay2/aef29de8ddf4de5cb1fe6fb4ee5bd5c407573124e646c941319ca17d6212d127/diff/tmp/lua: Cannot mknod: Operation not permitted
tar: ./var/lib/docker/overlay2/aef29de8ddf4de5cb1fe6fb4ee5bd5c407573124e646c941319ca17d6212d127/diff/tmp/luarocks: Cannot mknod: Operation not permitted
tar: ./var/lib/docker/overlay2/aef29de8ddf4de5cb1fe6fb4ee5bd5c407573124e646c941319ca17d6212d127/diff/tmp/install-lua: Cannot mknod: Operation not permitted
tar: ./var/lib/docker/overlay2/aef29de8ddf4de5cb1fe6fb4ee5bd5c407573124e646c941319ca17d6212d127/diff/usr/include/gnumake.h: Cannot mknod: Operation not permitted
tar: ./var/lib/docker/overlay2/aef29de8ddf4de5cb1fe6fb4ee5bd5c407573124e646c941319ca17d6212d127/diff/usr/bin/make: Cannot mknod: Operation not permitted
tar: ./var/lib/docker/overlay2/4934c85552b0a44fb9cc435a4d99184e382b3ff9d5b015905a8fbe7423e09f80/diff/etc/services.d/frontend: Cannot mknod: Operation not permitted
tar: ./var/lib/docker/overlay2/4934c85552b0a44fb9cc435a4d99184e382b3ff9d5b015905a8fbe7423e09f80/diff/etc/nginx/conf.d/dev.conf: Cannot mknod: Operation not permitted
tar: ./var/lib/docker/overlay2/911288585ba74af1f4d638ceedbb2c935d8f99d2b9611a026e9b59cbdb3fb88f/diff/tmp/install-s6: Cannot mknod: Operation not permitted
Total bytes read: 2642227200 (2.5GiB, 324MiB/s)
tar: Exiting with failure status due to previous errors
Logical volume "vm-105-disk-0" successfully removed
TASK ERROR: unable to restore CT 105 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/105/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
I believe it is related to having docker inside the unprivileged container (the permits error), since it's a test environment i can create a new CT with extra options if needed to be able to restore an unprivileged CT with docker images inside, but what would that be? is it posible at all?
Thanks all for this great piece of software and please bear with me, im new to all this
Something to have in mind:
Yes it was created as an unprivileged CT from the start
Restoring it as privileged would not be the best scenario i believe, it would be losing the unprivileged CT "extra security" right?