Three large-scale campaigns have targeted Docker Hub users, planting millions of repositories designed to push malware and phishing sites since early 2021.
I tried installing a docker image on my server at one point, Synology brand, but it didn’t work out for me very well, so I gave up relatively quick as it was more just a curiosity than a need or want.
Are docker images not easily installed on Synologys? I did read the guide for it, and did the commands. It just never worked for me.
That’s the guide I was following, and the commands “went through” without any error message, but it just never fully worked for me. This was at least sometime around this time last year, so maybe if I give it another go, it’ll work?
Read logs, usually they can help a lot. To see the live log of a container (e.g… hbbs) use the docker logs -f hbbshttps://docs.docker.com/config/containers/logging/ Without any usable info it’s not possible to help you.
I haven’t used Synology, so I’m not sure. So I’ll just explain a bit how Docker works, which will hopefully give some context.
Terminology:
image - the stuff hosted on https://hub.docker.com - basically the application and any dependencies it has
container - a disposable runtime for an image; stores new files separately from the image
By default, the container doesn’t have access to anything that’s not explicitly passed to it, kind of like a VM, but without the expensive overhead a VM has.
So the issues could be:
the image is incompatible with the host - pretty rare, but it happens
the container isn’t started
the container doesn’t have what it needs - maybe you need to expose a network port, or pass it a file
the Synology application isn’t configured to use the container
Synology has two types of Docker, “Docker” and “Container Manager”. If you’re using DSM 7.2 and later, please follow the guide for DSM 7.2, or follow the DSM 6 guide if you’re on older system.
Synology DSM 7.2
Synology DSM 6
If you are using Synology with Portainer, please check this tutorial.
If I had a Synology system to test with, I’d look into it for you, but that’s the best I’ve got. I run my own DIY NAS (old PC running openSUSE Leap w/ BTRFS, Samba, and minidlna configured).
The other user on this thread pointed out, as you have, that they’ve updated the guide to include DSM 7s Container Manager, which is what I was originally trying it on to begin with. So, thanks to both of you, I now have a project to do this weekend to test out the updated guides! :)
If I remember correctly, from a friend who was trying to do something on a Synology, there was something screwy about those devices.
Images that worked fine on a PC or a Pi just didn’t on the Synology. It’s been years so I don’t remember what, but don’t take those systems as a good example of Docker.
I tried installing a docker image on my server at one point, Synology brand, but it didn’t work out for me very well, so I gave up relatively quick as it was more just a curiosity than a need or want.
Are docker images not easily installed on Synologys? I did read the guide for it, and did the commands. It just never worked for me.
To give more info, it was for RustDesk self host.
Also, thanks for being so nice and kind!
Rustdesk has a section specifically for Synologys: https://rustdesk.com/docs/en/self-host/rustdesk-server-oss/synology/ Have you read this?
Yep!
That’s the guide I was following, and the commands “went through” without any error message, but it just never fully worked for me. This was at least sometime around this time last year, so maybe if I give it another go, it’ll work?
There are some issues about this guides in the docs repo maybe worth to read them as well: https://github.com/rustdesk/doc.rustdesk.com/issues?q=is%3Aissue+synology
Read logs, usually they can help a lot. To see the live log of a container (e.g… hbbs) use the
docker logs -f hbbs
https://docs.docker.com/config/containers/logging/ Without any usable info it’s not possible to help you.WOAH!
They didn’t have a separation of DSM 6 and 7 before, so I just kind of winged it.
Thank you SO much for pointing me in the right direction! It seems I have a project to do this weekend! :)
I haven’t used Synology, so I’m not sure. So I’ll just explain a bit how Docker works, which will hopefully give some context.
Terminology:
By default, the container doesn’t have access to anything that’s not explicitly passed to it, kind of like a VM, but without the expensive overhead a VM has.
So the issues could be:
For Synology and RustDesk specifically, I found this in the instructions:
If I had a Synology system to test with, I’d look into it for you, but that’s the best I’ve got. I run my own DIY NAS (old PC running openSUSE Leap w/ BTRFS, Samba, and minidlna configured).
The other user on this thread pointed out, as you have, that they’ve updated the guide to include DSM 7s Container Manager, which is what I was originally trying it on to begin with. So, thanks to both of you, I now have a project to do this weekend to test out the updated guides! :)
If I remember correctly, from a friend who was trying to do something on a Synology, there was something screwy about those devices.
Images that worked fine on a PC or a Pi just didn’t on the Synology. It’s been years so I don’t remember what, but don’t take those systems as a good example of Docker.