Docker Community Forums

Share and learn in the Docker community.

Viewing AppArmor profile of docker-desktop

Hello,

Needed some help on the AppArmor profile which usually gets loaded by the name docker-default on the Ubuntu machines.
My aim is to view what rules are exactly written in the docker-default profile for AppArmor. On the internet it is mentioned that one can go to the physical location and check at /etc/apparmor.d. However there are a few blogs which suggest that in the newer versions of Ubuntu, the docker-default profile is loaded to the kernel and then the physical file is deleted. I also had a look in /sys/kernel/security/apparmor however over here the files that were present were not readable.

Is there any way I can read the docker-default profile? Needed help on this please.