Comments (7)
I'm not sure if we can, because we use root privileges to perform loopback mounts. I think a privileged container could perhaps work. Would you like to give it a go? I can provide support where necessary and will certainly merge a change where a working Dockerfile (with some instructions in the README) is added.
from picl-k3os-image-generator.
Ok I tried this out and ended with the following:
...
2020-05-13 15:39:13 (5.54 MB/s) - 'deps/rpi-firmware-nonfree-master.zip' saved [110930819]
== Making image and filesystems... ==
/dev/mapper/control: open failed: No such device
Failure to communicate with kernel device-mapper driver.
Check that device-mapper is available in the kernel.
Incompatible libdevmapper 1.02.167 (2019-11-30) and kernel driver (unknown version).
device mapper prerequisites not met
If you want I can make a pull request with the work I did until now...
from picl-k3os-image-generator.
I've added some debug output:
and the output
looks like parts -a /dev/loopX is failing...
any ideas on this?
from picl-k3os-image-generator.
Maybe this can help...
I'm running privileged have devices /dev:/dev and cap_add: CAP_MKNOD
from picl-k3os-image-generator.
it should work now...
added pull request #18
from picl-k3os-image-generator.
@sgielen have you been able to review the PR already?
from picl-k3os-image-generator.
Docker support landed in abd9ca3, thanks @Ognian!
from picl-k3os-image-generator.
Related Issues (20)
- Odroid HC1/XU4 HOT 5
- Perform an fsck of the root filesystem before booting k3os
- Log2Ram HOT 1
- Question: RPi4 Netboot HOT 3
- Unable to boot newly created image HOT 15
- MAC Config files can not be created using windows HOT 3
- How to correctly fix init.resizefs when booting rpi from ssd HOT 6
- Build docker image containing all scripts HOT 1
- Issue Installing HOT 2
- k3s not running on Raspberry Pi 3B HOT 3
- [Question] Is there a way to add binaries ? HOT 2
- Cannot boot from USB on Raspberry Pi 4 HOT 2
- Slow CPU performance? HOT 5
- docker image no longer available HOT 1
- KVM and Wireguard modules HOT 3
- Poe Hat fan support HOT 4
- CNI like Cilium won't on k3os run using the official firmware pulled HOT 1
- RPi-Distro renamed master to buster HOT 4
- Broken Build script 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 picl-k3os-image-generator.