Search results

  1. R

    "apply caps: operation not permitted" trying to run wireguard docker CT

    I used to run docker in a VM, but was tempted to move it to a CT after seeing a number of Youtube videos about it. Actually the saving in resources are incredible: I run 15 containers and docker in 1 GB RAM whereas in a VM I'd use more than 2 GB. I understand there are some small security...
  2. R

    Install gnome40 in a proxmox container?

    It's a headless server, there is no GPU. I don't need to play games on it, it's only for the windowing environment.
  3. R

    "apply caps: operation not permitted" trying to run wireguard docker CT

    Trying to run ghcr.io/linuxserver/wireguard in docker in a CT, I get the error "apply caps: operation not permitted". Seems to have something to do with CAP_MKNOD capability in CT. I found a couple of refences to it in LXC, but nothing specific for Proxmox. Anyone know how to fix?
  4. R

    [TUTORIAL] Disk prevent from spinning down because of pvestatd

    # smartctl -i -n idle /dev/sdg smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.4.106-1-pve] (local build) Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org Device is in IDLE_A mode, exit(2) # smartctl reports the drive is WDC WD80EDAZ-11TA3A0. I don't really have...
  5. R

    Can't destroy container

    I have the same problem. I have only one volume with the CT, and it's not mounted. # pct destroy 250 zfs error: cannot destroy 'poolz/vmdata/subvol-250-disk-0': dataset is busy # zfs list -r -o name,mountpoint,mounted | grep subvol-250 poolz/vmdata/subvol-250-disk-0...
  6. R

    [TUTORIAL] Disk prevent from spinning down because of pvestatd

    No, I don't use PBS. # smartctl -i -n standby /dev/sdg | grep '^Power mode' Power mode was: IDLE_A # It's still spinning though ...
  7. R

    [TUTORIAL] Disk prevent from spinning down because of pvestatd

    I use an USB drive for backups, and in the nature of backups of course it only needs to spin during the backup. It seems to spin all the time though, judging by the sound. The dstat command shows zeroes for read/writes for several minutes (as long as I watched it) except for a 20/22k block when...
  8. R

    [SOLVED] Trying to install docker on a LXC container but I get error when try to start a docker container

    Yes, keyctl if it's unprivileged. IIRC, USERID remapping became too complicated with unprivileged containers and bind mounts so I skipped that. It's only a homelab with me as the only login user anyway.
  9. R

    [SOLVED] Trying to install docker on a LXC container but I get error when try to start a docker container

    I run docker in a Debian LXC container. That runs fine. I had to set options -> features -> nesting on for it to work though, but I also used bind mounts so not sure if that is related to your problem.
  10. R

    Install gnome40 in a proxmox container?

    Is it possible to install gnome40 in a proxmox container? Like explained here https://www.addictivetips.com/ubuntu-linux-tips/how-to-install-gnome-40-on-linux-early/ I've never installed Linux GUI servers on Proxmox and actually have very little experience with Linux GUI environments (I always...
  11. R

    How to encrypt an existing dataset (vm disk)

    Is the question not clear, or nobody knows?
  12. R

    How to encrypt an existing dataset (vm disk)

    If I understand correct it is not possible to encrypt an existing dataset? What other options are there to change a vm on an unencrypted dataset to encrypted? Is it possible to create an encrypted dataset and copy the vm disk - without down time? Maybe by using snapshots?
  13. R

    container sshd connection issue after lxc id remapping

    Ahh, now I think I understand. So i'ts actually 'x from-id-in-container to-id-in-host number-of-id's' I kinda understood it as 'x from-id-in-container to-id-in-container number-of-id's' -- if that makes sense. So, I want 111 and 1000-1009 (10 id's ;)) to link between container and host...
  14. R

    container sshd connection issue after lxc id remapping

    Hehe. At least I was not the only one to fall in that trap ;)
  15. R

    container sshd connection issue after lxc id remapping

    Actually no, that gave the same error I got before. From PVE GUI: "Error: startup for container '251' failed. In /var/log/lxc/lxc-monitord.log: lxc-monitord 20210222231915.892 INFO lxc_monitord - cmd/lxc_monitord.c:lxc_monitord_sock_accept:213 - Accepted client file descriptor 7. Number...
  16. R

    container sshd connection issue after lxc id remapping

    Awesome, exactly what I was looking for !
  17. R

    container sshd connection issue after lxc id remapping

    Yes, the sub*id should be ok: root:100000:65536 root:1000:10 root:111:1 The content look wrong - you mean the mapping details? Wrong in what way? How would the look to be right? I simply need to patch through UID's 111, 1000-1010 I have done it in the way of the example on...
  18. R

    container sshd connection issue after lxc id remapping

    So, next step - I need to link UID 111 and 10 UID's in the range 1000-1910 I'm trying this, but it causes the CT to not start .... and no info anywhere about what is wrong with it.... lxc.idmap: u 0 100000 111 lxc.idmap: g 0 100000 111 lxc.idmap: u 111 111 1 lxc.idmap: g 111 111 1 lxc.idmap: u...
  19. R

    Best practice sharing (zfs) disk space from host to virtual machines

    Sharing disks in containers using bind mounts are easy and effective, but as far as I'm informed, not possible with VM's. So what is the best way to get this functionality to VM's? I've not been able to get an nfs server working on the PVE hypervisor so my work around is having a privileged...
  20. R

    container sshd connection issue after lxc id remapping

    After much trial and error, and trying to read the corresponding parts of https://pve.proxmox.com/wiki/Unprivileged_LXC_containers I came here and found this to be correct. As the previous user I'd been trying with UID 1000, and got similar errors as above. Changed to 1005 and suddenly it...

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!