AppArmor doesn't allow network communication in docker containers with proxmox kernel

  • Hi!

    I switched from the default kernel to the proxmox kernel in my OMV 5 and all my dockers stopped working.

    I figured out that AppArmour isn't allowing any of my containers to bind to a socket.

    Below is the example of the portainer log.

    listen tcp socket: permission denied 

    I found an old thread where they mentioned the same error, but they didn't solve the problem.

    Anyone knows how to solve this issue? Or why is it happens?

  • Remove apparmor package. It isn't installed by default on OMV.

    omv 6.0.35-1 Shaitan | 64 bit | 5.15 proxmox kernel | plugins :: omvextrasorg 6.1.1 | kvm 6.1.22 | mergerfs 6.2 | zfs 6.0.11 plugins source code and issue tracker - github

    Please try ctrl-shift-R and read this before posting a question.
    Please don't PM for support... Too many PMs!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!