Hi everyone,
I am trying to configure Gitlab runners with custom LXD executors inside proxmox's LXC container.
Basically, I want to be able to spin-up LXC containers inside Proxmox's unprivileged LXC container.
I did the following:
1. Created unprivileged Ubuntu 22.04 LXC container with...
Sorry for the late reply.
And thank you very much. I was able to use nginx to proxy_pass requests from IPv6 GUA of the host to the IPv4 container addresses.
Hello,
I have several lxc containers with web applications on proxmox.
Container with apache passes 80/443 requests to containers and with ipv4 everything is ok.
Now, I would like to implement ipv6 for the containers while keeping ipv4.
I was able to set up GUAs for the containers (without...
In case one device is lost I wouldn't lose access to the web-interface. I just can revoke access with the first device and use the second (backup) one.
Hello oguz!
Thank you very much for the reply!
So that would mean I won't be able to use that shared directory from the host itself, right?
Is there a way I can use it on both proxmox host (where uid/gid would be from 0 to 65536) and inside the containers (where uid/gid would be from 100000 to...
Hello,
I have an NFS share mounted to proxmox host and I want to mount that share from host to an unprivileged container.
So I added a line "mp0: /location/on/host,mp=/location/on/container"
In privileged mode everything works and permissions are ok.
When I switch to unprivileged mode...
But it's already set to none (by default):
NAME PROPERTY VALUE SOURCE
rpool/data quota none default
rpool/data refquota none default
NAME PROPERTY VALUE SOURCE
storage quota none default
storage refquota none default
I tried to set it to 0, but according to https://pve.proxmox.com/wiki/Linux_Container:
It's not giving me an error on creation, but I can't do things like snapshots/backups/restores via web interface if quota is set to 0 (it gives me the same error as @jar posted).
Awesome! Thank you very much Fabian!
pct create XXX /var/lib/vz/dump/vzdump-lxc-100.tar.lzo --rootfs storage:8 -unprivileged gave me mknod: Operation not permitted errors.
-ignore-unpack-errors 1 resolved the issue with mknod and the container was created as an unprivileged one.
The one thing...
Thank you, Fabian!
That worked.
Now, I have a privileged container.
I read that, by simply, backing up and restoring I can make it unprivileged. Though when I do it, I still get Permission denied errors:
# pct restore 103 /var/lib/vz/dump/vzdump-lxc-100.tar.lzo --storage storage --rootfs...
Hello, Oguz!
Thank you very much for the response!
Here's part of the log:
tar: lib: Cannot mkdir: Permission denied
tar: lib: Cannot mkdir: Permission denied
tar: lib/libhandle.so.1.0.3: Cannot open: No such file or directory
tar: lib: Cannot mkdir: Permission denied
tar: lib/modules: Cannot...
I'm trying to migrate unprivileged lxc container (created not on proxmox) to proxmox.
I saw couple of posts about how to do that kind of thing:
https://serverfault.com/questions/731400/how-to-migrate-a-regular-lxc-container-to-a-proxmox-lxc-container...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.