Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.
This repository was archived by the owner on May 12, 2021. It is now read-only.

Runtime should return an error when trying to load an AppArmor profile with docker #707

@marcov

Description

@marcov

Description of problem

When using docker as container engine, the --security-opt apparmor= option is completely disregarded.

docker run -it --rm busybox

Expected result

Something like:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused \"failed to apply AppArmor profile\""

Actual result

(Container is started an no error/warning is reported to the user).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions