sethforprivacy / simple-monerod-docker

A simple and straightforward Dockerized monerod built from source and exposing standard ports.
https://sethforprivacy.com/guides/run-a-monero-node/
MIT License
92 stars 19 forks source link

How to get it running on Synology NAS? #103

Closed FlavioB79 closed 5 months ago

FlavioB79 commented 6 months ago

Hi. Is it possible to run this monerod-docker on Synology NAS? If yes, is there any how-to for it? I've just tried downloading the "latest" tagged version, but it fails with:

Add image from docker.io/sethforprivacy/simple-monerod:latest Failed to pull image [manifest for sethforprivacy/simple-monerod:latest not found: manifest unknown: manifest unknown].

Same thing happens, if I specify the version tag:

Add image from docker.io/sethforprivacy/simple-monerod:v0.18.3.1 Failed to pull image [manifest for sethforprivacy/simple-monerod:v0.18.3.1 not found: manifest unknown: manifest unknown].

What's wrong?

Thanks, F.

sethforprivacy commented 6 months ago

Hi there, you should pull from GHCR now instead of Docker Hub, as I'll be removing Docker Hub usage soon:

docker pull ghcr.io/sethforprivacy/simple-monerod:v0.18.3.1

FlavioB79 commented 6 months ago

Hi and thanks for your reply. I've tried adding the GHCR registry this way, but it won't work: image When I try to use this registry, it tells me: image and it won't retrieve any list of available apps.

I'm very new to this, so any help would be appreciated. Is the path to the GHCR registry wrong? Or what else am I missing?

Thanks, Flavio.

https://www.instagram.com/boniforti_music https://soundcloud.com/boniforti_music https://bonny-j.bandcamp.com

Am Mo., 8. Jan. 2024 um 12:41 Uhr schrieb Seth For Privacy < @.***>:

Hi there, you should pull from GHCR now instead of Docker Hub, as I'll be removing Docker Hub usage soon:

docker pull ghcr.io/sethforprivacy/simple-monerod:v0.18.3.1

— Reply to this email directly, view it on GitHub https://github.com/sethforprivacy/simple-monerod-docker/issues/103#issuecomment-1880841349, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIEUZR63RVADYYDC45425SLYNPLNDAVCNFSM6AAAAABBPWSZAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBQHA2DCMZUHE . You are receiving this because you authored the thread.Message ID: @.***>

sethforprivacy commented 6 months ago

Those images didn't come through, could you try putting them directly in the Github issue instead of via email?

FlavioB79 commented 6 months ago

Those images didn't come through, could you try putting them directly in the Github issue instead of via email?

I just noticed it too. I'll repost later when I get back home. Thanks so far! F.

FlavioB79 commented 6 months ago

I've edited my comment with the images - now they are linked. Thanks for your help - and let me know if there's a different/better way to add images here :-) F.

sethforprivacy commented 6 months ago

AFAICT you can only do it from the command line for some reason?

https://stackoverflow.com/questions/73825556/adding-ghcr-github-docker-regustry-to-synology-docker-results-in-registry-ret

FlavioB79 commented 6 months ago

AFAICT you can only do it from the command line for some reason?

https://stackoverflow.com/questions/73825556/adding-ghcr-github-docker-regustry-to-synology-docker-results-in-registry-ret

Thank you Seth. That's weird, I opened a support ticket at Synology. Let's see if their reply is the same as it was back in 2022. I'll report back asap. F.

FlavioB79 commented 6 months ago

AFAICT you can only do it from the command line for some reason? https://stackoverflow.com/questions/73825556/adding-ghcr-github-docker-regustry-to-synology-docker-results-in-registry-ret

Thank you Seth. That's weird, I opened a support ticket at Synology. Let's see if their reply is the same as it was back in 2022. I'll report back asap. F.

This is what Synology support just replied:

Unfortunately, it is a current limitation that the Container Manager does not support the authentication token which Github / Gitlab is using currently.

Does this sound correct? I mean: is Github in fact using an authentication token to access it for pulling? F.

sethforprivacy commented 6 months ago

AFAICT you can only do it from the command line for some reason? https://stackoverflow.com/questions/73825556/adding-ghcr-github-docker-regustry-to-synology-docker-results-in-registry-ret

Thank you Seth. That's weird, I opened a support ticket at Synology. Let's see if their reply is the same as it was back in 2022. I'll report back asap. F.

This is what Synology support just replied:

Unfortunately, it is a current limitation that the Container Manager does not support the authentication token which Github / Gitlab is using currently.

Does this sound correct? I mean: is Github in fact using an authentication token to access it for pulling? F.

Not AFAIK when just pulling images.

FlavioB79 commented 6 months ago

Indeed I was able to pull the image via CLI with the command you initially told me to use. The daemon is starting just fine and is downloading/syncing. Now I just got another question: I have mapped the volume of the container to a shared folder on my Synology NAS. Shouldn't I see files in this shared folder now? The mapping is as follows: /docker/monero-blockchain --> /root.bitmonero (r/w) Thanks for your help, F.

https://www.instagram.com/boniforti_music https://soundcloud.com/boniforti_music https://bonny-j.bandcamp.com

Am Di., 9. Jan. 2024 um 20:23 Uhr schrieb Seth For Privacy < @.***>:

AFAICT you can only do it from the command line for some reason?

https://stackoverflow.com/questions/73825556/adding-ghcr-github-docker-regustry-to-synology-docker-results-in-registry-ret

Thank you Seth. That's weird, I opened a support ticket at Synology. Let's see if their reply is the same as it was back in 2022. I'll report back asap. F.

This is what Synology support just replied:

Unfortunately, it is a current limitation that the Container Manager does not support the authentication token which Github / Gitlab is using currently.

Does this sound correct? I mean: is Github in fact using an authentication token to access it for pulling? F.

Not AFAIK when just pulling images.

— Reply to this email directly, view it on GitHub https://github.com/sethforprivacy/simple-monerod-docker/issues/103#issuecomment-1883646350, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIEUZRYEPWTUEVAKBNYO77LYNWKLZAVCNFSM6AAAAABBPWSZAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBTGY2DMMZVGA . You are receiving this because you authored the thread.Message ID: @.***>

FlavioB79 commented 5 months ago

HI. I was able to set the permissions on my shared folder (on the NAS) to belong to user 1000 and group 1000 (the ones set inside of the container). Now it works. Thanks, Flavio.