DarkIsDude / tor-server

:whale: An efficient and secure Tor relay server Docker image based on Debian Jessie
https://hub.docker.com/r/chriswayg/tor-server/
GNU General Public License v2.0
7 stars 4 forks source link

Updated upstream builds of Tor-Server, working and tested. #5

Closed chriswayg closed 6 years ago

chriswayg commented 6 years ago

Hi DarkIsDude nice to see, that you updated my previous version to be functional again! The more Tor servers the better!

I updated my Tor-Server to Debian 9 stretch, which will auto-update on Docker Hub more reliably (as it is not built from source), but is using the Tor repositories with recent builds. You may want to incorporate some of my changes into your version:

https://hub.docker.com/r/chriswayg/tor-server/

DarkIsDude commented 6 years ago

Thanks @chriswayg , I go back to your repo!

hydrosam commented 4 years ago

Hey it seems like the version is getting stuck at Tor 0.4.2.7 but the 0.4.2.x is out of support so there seem to be intermittent issues. Any ideas on how to update the docker so that the relays built on it move along to newer versions?

DarkIsDude commented 4 years ago

@hydrosam thanks for pinging me. Feel free to open a new issue when you want.

I just rerun the pipeline to build it, I'm now using 0.4.4.5. So you just need to pull the image and you'll use the new version

Moppen72 commented 7 months ago

Mar 20 04:05:06.000 [warn] Please upgrade! This version of Tor (0.4.7.13) is obsolete, according to the directory authorities. Recommended versions are: 0.4.8.1-alpha,0.4.8.2-alpha,0.4.8.3-rc,0.4.8.4,0.4.8.5,0.4.8.6,0.4.8.7,0.4.8.8,0.4.8.9,0.4.8.10

DarkIsDude commented 7 months ago

@Moppen72 done 🙏

Mar 20 13:38:48.066 [notice] Tor 0.4.8.10 running on Linux with Libevent 2.1.12-stable, OpenSSL 1.1.1w, Zlib 1.2.11, Liblzma 5.2.5, Libzstd 1.4.8 and Glibc 2.31 as libc
Moppen72 commented 7 months ago

Thanks, that was quick. But after the Update, the container doesn't work anymore: Log: [FATAL tini (7)] exec docker-entrypoint failed: Exec format error

DarkIsDude commented 7 months ago

oO ! What is your command to start it ? And or the config to be able to reproduce it ?

Moppen72 commented 7 months ago

Oh, there is a warning:

docker create
  --name='tor-relay'
  --net='bridge'
  -e TZ="Europe/Berlin"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="xxxxxx"
  -e HOST_CONTAINERNAME="tor-relay"
  -e 'TOR_NICKNAME'='xxxxxxxx'
  -e 'CONTACT_EMAIL'=xxxxxxxxxxxxxx@mailbox.org'
  -e 'PUID'='99'
  -e 'PGID'='100'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.icon='https://clipartart.com/images/tor-browser-icon-clipart-9.png'
  -p '9030:9030/tcp'
  -p '9001:9001/tcp'
  -v '/etc/localtime':'/etc/localtime':'rw'
  -v '/mnt/user/appdata/tor-relay/':'/etc/tor/':'ro'
  --init 'doudou34/tor-server'

WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v2) and no specific platform was requested
a3aec22bca9ec65de1be499f2bca74a0e143b66fd51820b4080dfc963153dae0

The command finished successfully!
DarkIsDude commented 7 months ago
docker create \
  --name='tor-relay' \
  --net='bridge' \
  -e TZ="Europe/Berlin" \
  -e HOST_OS="Unraid" \
  -e HOST_HOSTNAME="xxxxxx" \
  -e HOST_CONTAINERNAME="tor-relay" \
  -p '9030:9030/tcp' \
  -p '9001:9001/tcp' \
  --init 'doudou34/tor-server'

This is running here. I'm on Apple silicon, what's yours ? Are you using an intel or amd64 ?

DarkIsDude commented 7 months ago

Ok indeed I think it's fixed. Discovered the multi build image tonight. The new command to build and run : docker build --platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm64/v8 --push --no-cache -t doudou34/tor-server:latest .. Should work now ? Which architecture do you use ? @Moppen72

Moppen72 commented 7 months ago

Very well done, sir. My Tor Relay is back up and running. Your Support is exemplary.

I am running a unRaid-Server on linux/amd64/v2, I guess. If you need, I can provide further Information about my System.

DarkIsDude commented 7 months ago

BTW I just pushed a new tag : 0.4.8.10. I'll maybe try to push with more tags to avoid always pushing only latest and keep some history 🙏