-
-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not compatible with Raspberry Pi #8
Comments
Docker Hub haven't support arm arch for automated builds, currently, so we'll need to have a separated Docker Hub Repository for that, and build the image with other platforms, I'm not sure how many Raspberry Pi users need the arm build of this repository, +1 on this issue if you're a Raspberry Pi or other arm platform users need this. |
Looks like currently not so many Raspberry Pi users here, so I may not manually build images for it and manually upload to Docker Hub, but keep waiting for more convenient or official ways. If you'd like to use it on Raspberry Pi currently, I suggest you to build it locally, just need a very tiny patch of the Dockerfile. Assume you are using Raspberry Pi 2+, add -FROM alpine:3.10
+FROM arm32v7/alpine:3.10 Now you can build it as normal, for example: docker build -t tor-socks-proxy:local-arm32v7 . You should replace |
As docker/hub-feedback#1261 has been fixed it is now possible to do automatically build for ARM on Docker Hub. |
@hacker-h thanks! I'll take a look. |
For me works only arm32v7, but I write docker build https://github.com/b1oki/tor-socks-proxy.git#master -t tor-socks-proxy:local-arm32v7
docker run -d --restart=always --name tor-socks-proxy -p 127.0.0.1:9150:9150 tor-socks-proxy:local-arm32v7 |
After upgrade Raspbian
Problem with tor@edge, so I remove edge. |
@b1oki Thanks for sharing |
Hi @Laserlicht @hacker-h @b1oki, I forgot to update some news here, would you like to use this image and see if it works for you: |
doesn't work for me on Pi4: manual run with a shell within the container:
|
@hacker-h okay, thanks, I'll arrange some free time to take a look. |
pi@raspberrypi:~ $ docker run -d --restart=always --name tor-socks-proxy-test -p 0.0.0.0:9100:9150 -it peterdavehello/tor-socks-proxy:test
Statuses:
Restarting (132) 2 seconds ago
Up Less than a second (health: starting)
Restarting (132) 25 seconds ago
pi@raspberrypi:~ $ docker run --name tor-socks-proxy-test --entrypoint=sh -p 0.0.0.0:9100:9150 -it peterdavehello/tor-socks-proxy:test
/ $ /usr/bin/tor -f /etc/tor/torrc
Aborted
/ $ echo $?
134
/ $ /usr/bin/tor
Aborted
/ $ echo $?
134
Custom branch tor-socks-proxy:local-arm32v7 is worked okey. |
After upgrade OS to Raspbian GNU/Linux 11 (bullseye) and 5.15.79-v7+ kernel successful run with arm32v7/alpine:3.17 |
Just pushed some updates here: https://hub.docker.com/r/peterdavehello/tor-socks-proxy/tags For the latest tag, it's for So, I manually build another image without the
Please feel free to give it a try and share some feedback, thanks! |
Thank you!
|
See also #56 |
sudo docker logs tor_socks_proxy
returns
standard_init_linux.go:190: exec user process caused "exec format error"
The text was updated successfully, but these errors were encountered: