Giter Club home page Giter Club logo

Comments (8)

LukeMondy avatar LukeMondy commented on July 19, 2024 1

I'm guessing it's related to running under WSL.

This line in particular seems to be causing the issue: https://github.com/SEL4PROJ/seL4-CAmkES-L4v-dockerfiles/blob/ecdfd80ce2a32aa278a2b870e4a60c56baad2c19/Makefile#L120

You can delete it, and see if it helps. It's just a quality-of-life thing, so the container has the same time as your host machine.

That should be the only issue, but we haven't tried the containers on WSL at all, so there may be other issues.

from sel4-camkes-l4v-dockerfiles.

dymil avatar dymil commented on July 19, 2024

I'm having the same issue on Debian buster (10.0) on Windows, running Docker via this guide for WSL. Adding the -f force flag to the rm command in extras.dockerfile seems to allow things to proceed, but I'm not sure if that's a real fix. Maybe commenting that section back out would be best?

from sel4-camkes-l4v-dockerfiles.

LukeMondy avatar LukeMondy commented on July 19, 2024

Sorry for the delay, the holiday period slows everything down.

I've put forward a fix for this internally, which may take a day or so to push out. The fix is to modify extras.dockerfile to look like this:

RUN apt-get update -q \
    && apt-get install -y --no-install-recommends \
        # Add more dependencies here
        cowsay \
        sudo 

Let us know if that helps!

from sel4-camkes-l4v-dockerfiles.

dymil avatar dymil commented on July 19, 2024

Making that change got me past the initial error described in the original post, but now, when running make user (specifically when it tries to make the user_run target), I get the following error:

docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:449: container init caused "rootfs_linux.go:58: mounting \"/etc/localtime\" to rootfs \"/var/lib/docker/overlay2/778f3fba720f560454896e05cb92f05561813c5d29d5140fa16bcc426728bc3e/merged\" at \"/var/lib/docker/overlay2/778f3fba720f560454896e05cb92f05561813c5d29d5140fa16bcc426728bc3e/merged/usr/share/zoneinfo/UCT\" caused \"not a directory\""": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.
make: *** [Makefile:113: user_run] Error 125

I'm not sure if it's related.

from sel4-camkes-l4v-dockerfiles.

BeFlo avatar BeFlo commented on July 19, 2024

Same issue for me after i have deleted line 120 and line 132.

from sel4-camkes-l4v-dockerfiles.

LukeMondy avatar LukeMondy commented on July 19, 2024

There are now two issues: the original, and the issue reported by @dymil :

docker: Error response from daemon: OCI runtime create failed: container_linux.go:346: starting container process caused "process_linux.go:449: container init caused "rootfs_linux.go:58: mounting "/etc/localtime" to rootfs "/var/lib/docker/overlay2/778f3fba720f560454896e05cb92f05561813c5d29d5140fa16bcc426728bc3e/merged" at "/var/lib/docker/overlay2/778f3fba720f560454896e05cb92f05561813c5d29d5140fa16bcc426728bc3e/merged/usr/share/zoneinfo/UCT" caused "not a directory""": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.
make: *** [Makefile:113: user_run] Error 125

I'm not sure which issue you're experiencing? The original, or dymil's?

from sel4-camkes-l4v-dockerfiles.

BeFlo avatar BeFlo commented on July 19, 2024

Cool, I got it working now. Thanks for the support

from sel4-camkes-l4v-dockerfiles.

LukeMondy avatar LukeMondy commented on July 19, 2024

Great!

from sel4-camkes-l4v-dockerfiles.

Related Issues (20)

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.