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?

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

    omv 5.6.13 usul | 64 bit | 5.11 proxmox kernel | omvextrasorg 5.6.2 | kvm plugin 5.1.6
    omv-extras.org plugins source code and issue tracker - github


    Please 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!