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 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


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


    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!