How to update a tor relay on docker?

Hello everyone,

I have a Synology NAS and I’m running a Tor relay on a Docker container on Debian, but I’m having trouble updating it with “sudo apt update” and “sudo apt upgrade”. When I try to run these commands, the relay remains at its last version and does not update

Can anyone help me figure out how to update Tor on my Debian Docker container? I’m not very experienced with Docker and I’m not sure what the best way to proceed is.

Thanks in advance for your help!

Where did you get your initial docker-image from?

contains a section which explains it for a container setup by the instructions itself…

2 Likes

it comes from this link.
https://hub.docker.com/r/doudou34/tor-server

Hello, I have successfully updated the relay. Now I have this problem

"Looks like your keypair has changed? This authority previously recorded a different RSA identity for this Ed25519 identity (or vice versa.) Did you replace or copy some of your key files, but not the others? You should either restore the expected keypair, or delete your keys and restart Tor to start your relay with a new identity.") response from dirserver 131.188.40.189:80. Please correct.

In order to keep my metrics score, I pasted my old keys “secret_id_key” et " ed25519_master_id_secret_key ".

But I get this message. What does it mean?