Skip to content

bwrap-oci and docker: /usr/local/bin/bwrap-oci: option parsing failed: Unknown option --root  #20

@mviereck

Description

@mviereck

How can I set up bubblewrap and brwap-oci to use them with docker run option --runtime=bwrap-oci?

I currently did some test runs with kata (--runtime=kata-runtime) and would like to try bubblewrap, too.

I've installed bubblewrapfrom debian repository and compiled bwrap-oci from github.
I've configured docker daemon to use bwrap-oci. I get the error message:

docker: Error response from daemon: OCI runtime create failed: unable to retrieve OCI runtime error (open /run/containerd/io.containerd.runtime.v1.linux/moby/bd13878d4dc6e0837f98ad12bdf4024b978b5e0b22709459ed74e095d7bb76cc/log.json: no such file or directory): /usr/local/bin/bwrap-oci did not terminate sucessfully: /usr/local/bin/bwrap-oci: option parsing failed: Unknown option --root

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