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.

    Code
    listen tcp 0.0.0.0:8000: 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?

    • Official Post

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

    omv 6.4.0-3 Shaitan | 64 bit | 6.2 proxmox kernel

    plugins :: omvextrasorg 6.3 | kvm 6.2.14 | compose 6.7 | cputemp 6.1.3 | mergerfs 6.3.7


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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!