Comments (8)
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.
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.
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.
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.
Same issue for me after i have deleted line 120 and line 132.
from sel4-camkes-l4v-dockerfiles.
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.
Cool, I got it working now. Thanks for the support
from sel4-camkes-l4v-dockerfiles.
Great!
from sel4-camkes-l4v-dockerfiles.
Related Issues (20)
- `make user` fails with `docker: Error response from daemon: Unable to find group stack.` on MacOS HOT 1
- Is the stack group required for a regular build environment? HOT 6
- Investigate if linter can be PR scoped HOT 1
- make user failed on MacBook Pro with Apple M1 chipset HOT 46
- Freeze Python package dependencies (camkes-deps currently breaks) HOT 2
- Clarification on pull request #42
- delete merged branches "spdx" and "fix_os" HOT 1
- Update Haskell toolchain in containers HOT 5
- Do not run Authenticate and Push on forks HOT 1
- Update QEMU to 7.0 as is enforces stronger RISC-V spec compliance HOT 6
- review bash invocations in this repo
- deploy action is running out of disk space HOT 1
- timezone setting on MacOS broken again HOT 8
- remove cogent HOT 1
- Suggest updating to a more recent base.
- sign containers and check signatures of content in containers HOT 1
- update treatment of python in docker HOT 1
- l4 docker container is too large HOT 2
- Issues with nanopb Python package import HOT 4
- Camkes VM Linux Dependency HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sel4-camkes-l4v-dockerfiles.