Comments (7)
hm, interesting, that's true, binary from docker-hub, when i pull with --platform linux/arm64
:
file shell2http
shell2http: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=6koEGbrEEGBTYGkn9hzX/27hYYvHrvh-qBhB9K43g/H2m6LhSg5yfQBc-0NQCs/-NilITePHkXAPU22lnRu, stripped
but when i build image locally with --platform linux/arm64
then binary with correct arch:
file shell2http
shell2http: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=l_gAaStGsLksdYfmePXG/QMzehRPei214aKm824Mb/XHEXvBq37vu2U1-3IoWA/Kj5xNi43t3Eotu8ny5mN, stripped
maybe something wrong with Github Action for build images, but it works well before, i'll try to create new tag for create new images
from shell2http.
@msoap
Confirmed that 1.17.0 fixes the issue thanks a lot!
from shell2http.
hi @Liad-n, could you please provide minimal example of docker run ...
command with this error?
from shell2http.
of course, thanks for the quick response
I attached into the container and inside it ran /app/shell2http, a normal docker run gives me an exec format error - probably has the x86 binary instead of the arm one, I checked and the 1.16.0 executable for arm works perfectly when downloaded from github.
from shell2http.
as workaround you can also build it locally:
docker build -t msoap/shell2http --platform=linux/arm64 .
in project root
from shell2http.
Perfect thank you @msoap
from shell2http.
@Liad-n seems to have fixed it, pls check with pull latest image (or :1.17.0 tag)
from shell2http.
Related Issues (20)
- "No such file or directory" err HOT 3
- How can get request body from command? (question) HOT 2
- Parsing of ASCII encoding not working for all characters HOT 1
- Create new shell2http binaries to solve CVE-2016-2183 HOT 3
- support async call on windows HOT 2
- Support parameter transfer command HOT 2
- What are these logs? HOT 1
- I would like to prohibit executing some commands when using shell2http HOT 1
- Regarding Required Installation and Operation Storage Space HOT 1
- Ability to define multiple endpoints in dockerfile HOT 1
- Support configuration file method HOT 5
- Using a POST request to write JSON to script stdin HOT 1
- Create routes to shell mappings using JSON HOT 1
- Documentation for docker should include details about using --init HOT 2
- Streaming endpoints HOT 2
- logging to file does not include stderr from shell commands HOT 2
- may support read cig/shell script from file HOT 1
- support CORS? HOT 5
- Log rotation/limit 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 shell2http.