computermouth / qemu-static-conf Goto Github PK
View Code? Open in Web Editor NEWDocker cross-architecture builds without putting qemu-*-static in the image
Docker cross-architecture builds without putting qemu-*-static in the image
Hello,
I follow instructions and my docker image has started, thanks
I don't know if it's the better place to expose my problem.
To give a context, I run automated test on my Ubuntu 18.04 server who use docker (arm) and sometimes, I got standard_init_linux.go:190: exec user process caused "no such file or directory"
. If I run sudo systemctl restart systemd-binfmt
and try to rebuild my docker image, it works
Can you help me to avoid service restart ?
Thanks
Thank you so much
Thanks for putting these instructions together, I know this really isn't your burden to bear but I thought I would note some problems I'm having using Ubuntu 16.04
#Description of setup
$ uname -a
Linux virtualbox 4.4.0-116-generic #140-Ubuntu SMP Mon Feb 12 21:23:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ systemctl status systemd-binfmt
● systemd-binfmt.service - Set Up Additional Binary Formats
Loaded: loaded (/lib/systemd/system/systemd-binfmt.service; static; vendor preset: enabled)
Active: inactive (dead) since Wed 2018-03-28 12:22:33 EDT; 7s ago
Condition: start condition failed at Wed 2018-03-28 12:22:33 EDT; 7s ago
none of the trigger conditions were met
Docs: man:systemd-binfmt.service(8)
man:binfmt.d(5)
https://www.kernel.org/doc/Documentation/binfmt_misc.txt
Process: 4926 ExecStart=/lib/systemd/systemd-binfmt (code=exited, status=0/SUCCESS)
Main PID: 4926 (code=exited, status=0/SUCCESS)
Mar 28 12:05:19 virtualbox systemd[1]: Starting Set Up Additional Binary Formats...
Mar 28 12:05:19 virtualbox systemd[1]: Started Set Up Additional Binary Formats.
Mar 28 12:22:33 virtualbox systemd[1]: Stopped Set Up Additional Binary Formats.
Mar 28 12:22:33 virtualbox systemd[1]: Stopping Set Up Additional Binary Formats...
#Install steps
$ git clone https://github.com/computermouth/qemu-static-conf.git
$ sudo mkdir -p /lib/binfmt.d
$ sudo cp qemu-static-conf/*.conf /lib/binfmt.d/
$ sudo systemctl restart systemd-binfmt.service
Job for systemd-binfmt.service failed because the control process exited with error code. See "systemctl status systemd-binfmt.service" and "journalctl -xe" for details.
#Post-install systemd info
$ systemctl status systemd-binfmt
● systemd-binfmt.service - Set Up Additional Binary Formats
Loaded: loaded (/lib/systemd/system/systemd-binfmt.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2018-03-28 12:27:29 EDT; 2s ago
Docs: man:systemd-binfmt.service(8)
man:binfmt.d(5)
https://www.kernel.org/doc/Documentation/binfmt_misc.txt
Process: 7562 ExecStart=/lib/systemd/systemd-binfmt (code=exited, status=1/FAILURE)
Main PID: 7562 (code=exited, status=1/FAILURE)
Mar 28 12:27:29 virtualbox systemd[1]: Starting Set Up Additional Binary Formats...
Mar 28 12:27:29 virtualbox systemd-binfmt[7562]: Failed to add binary format: Invalid argument
Mar 28 12:27:29 virtualbox systemd-binfmt[7562]: Failed to add binary format: Invalid argument
Mar 28 12:27:29 virtualbox systemd-binfmt[7562]: Failed to add binary format: Invalid argument
Mar 28 12:27:29 virtualbox systemd[1]: systemd-binfmt.service: Main process exited, code=exited, status=1/FAILURE
Mar 28 12:27:29 virtualbox systemd[1]: Failed to start Set Up Additional Binary Formats.
Mar 28 12:27:29 virtualbox systemd[1]: systemd-binfmt.service: Unit entered failed state.
Mar 28 12:27:29 virtualbox systemd[1]: systemd-binfmt.service: Failed with result 'exit-code'.
Any advice would be appreciated!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.