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

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions