Coder Social home page Coder Social logo

bwrap-oci's People

Contributors

besnardjb avatar giuseppe avatar jlebon avatar marcosps avatar maxice8 avatar wking avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bwrap-oci's Issues

devtmpfs

When adding a mount, I get the error that devtmpfs is not a supported type, even though bwrap has a --dev flag.

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

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

Unused bundlePath in kill.c

We should be able to drop bundlePath from kill.c. This may involve teaching read_container_status_file to accept NULL for unneeded arguments, but should be fairly straightforward. I can work up a PR on Monday, but wanted to file this so I don't forget.

run_demo.sh does not work as is

While trying to use the demo for bwrap-oci, skopeo cannot download the image into a newly created empty directory:

bwrap --ro-bind / / --dev /dev --proc /proc --bind $(pwd) $(pwd) skopeo copy docker://fedora oci:cache

FATA[0000] Error initializing destination oci:cache:: cannot save image with empty image.ref.name

If we change oci:cache to dir:cache it works, but the files inside the cache directory are not in the OCI format. If there a way to download the image in OCI format without any additional setup?

bwrap-oci.c: 3 * dodgy comparison ?

bwrap-oci.c:728:55: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
bwrap-oci.c:887:52: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
bwrap-oci.c:894:49: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]

Comparing a function return type of size_t to less than zero looks dodgy.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.