docker-support doesn't quite work for docker with base:core22
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
core20
+ sudo docker run --rm hello-world
docker: Error response from daemon: AppArmor enabled on system but the docker-default profile could not be loaded: running `/usr/sbin/
core22
+ sudo docker run --rm hello-world
docker: Error response from daemon: AppArmor enabled on system but the docker-default profile could not be loaded: running `/usr/sbin/
it seems modern apparmor_parser wants to read the abi policy file by default, as specified by default in the parser.conf. In such cases, reading such files should be allowed.
Imho `apparmor_parser --version` should pass, as needed for the docker support interface.
Merged in https:/ /github. com/snapcore/ snapd/pull/ 12644