That was also my first guess, but since none of the like five tutorials I read mentions it, I tought it is fine
Do you mean running sudo qm set 105 -virtio2 /dev/sdb1 or are you talking abount something different?
it may be a bad title, but I don't know how else to describe it.
So I have a Ubuntu Server VM on Proxmox and I want to passthrough some drives (as passing through a directory does nto work afaik). I used sudo qm set 105 -scsi2 /dev/sdb1 to do so. I then mounted it in the guest by putting...
Also what I found and what might lead to a better solution is that
$ sudo aa-status
apparmor module is loaded.
17 profiles are loaded.
17 profiles are in enforce mode.
/usr/bin/lxc-start
/usr/bin/man
/usr/lib/cups/backend/cups-pdf
/usr/sbin/cups-browsed
/usr/sbin/cupsd...
Found a solution. Run docker with --security-opt apparmor:unconfined respectively put
security_opt:
- apparmor:unconfined
as in
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
security_opt:
- apparmor:unconfined
in your docker-compose.yml
Same problem here though with a bit different behaviour. With apparmor installed I get:
$ docker-compose up -d
Building with native build. Learn about native build in Compose here: https://docs.docker.com/go/compose-native-build/
Starting pihole ... error
ERROR: for pihole Cannot start...
No. I guess the problem is that Apparmor does not have the right profile installed, but I have no idea where to get it and how to use it, if profiles are the problem at all
Plot twist! The solution I posted above does NOT solve the problem. I now switched a second server from unprivileged to privileged by what I noticed that uninstalling apparmor inside the LXC solved the problem.
Now I don't really know what apparmor does, but I guess one wants to have it...
I apologize if this is a noob question.
So I installed Proxmox "normally", i.e. with LVM and ext4 some time ago. Now i noticed that my SSD shows up with 223,57GiB in size under Datacenter->pve->Disks. But under Datacenter->pve->Disks->LVM-Thin the data LV is just 141,43GiB. What is the rest used...
I was running an unprivileged LXC and converted it to a privileged one (backed it up and then restored with it set to privileged) and now I have issues with Apparmor. My main problem is starting a Docker container
~/pihole$ docker-compose up
Creating network "pihole_default" with the default...
My situation is the following: I have a server running Proxmox. Now I need to get a software running that we got as a VMware Workstation image and it's recommended to use Workstation Player 12 or 14. How do I do that?
I guess I have to install VMware workstation Player in a VM. Does a LXC work...
Basically I want to run Plex in an LXC and have it use my Movies stored in a Team Drive. I guess rclone mount, which uses fuse, is the best option to access the movies. In the Wiki it says that it is advised against using fuse inside an LXC. Is that still up to date? I mean there is a fuse...
My server runs on a 240GB SSD. The local-lvm is nearly full (~90%) while "local" is nearly empty. Is it possible to shrink the local storage and then expand local-lvm?
oh. Guess I confused it with a forum post i read.
What does disabling mean exactly? Unmounting it? And can disabling and enabling be done automatically?
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.