this post was submitted on 02 May 2024
101 points (98.1% liked)

Cybersecurity

5404 readers
81 users here now

c/cybersecurity is a community centered on the cybersecurity and information security profession. You can come here to discuss news, post something interesting, or just chat with others.

THE RULES

Instance Rules

Community Rules

If you ask someone to hack your "friends" socials you're just going to get banned so don't do that.

Learn about hacking

Hack the Box

Try Hack Me

Pico Capture the flag

Other security-related communities !databreaches@lemmy.zip !netsec@lemmy.world !cybersecurity@lemmy.capebreton.social !securitynews@infosec.pub !netsec@links.hackliberty.org !cybersecurity@infosec.pub !pulse_of_truth@infosec.pub

Notable mention to !cybersecuritymemes@lemmy.world

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] LucidNightmare@lemmy.world 2 points 4 months ago (3 children)

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!

[–] infeeeee@lemm.ee 3 points 4 months ago (1 children)
[–] LucidNightmare@lemmy.world 2 points 4 months ago (1 children)

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?

[–] infeeeee@lemm.ee 3 points 4 months ago (1 children)

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.

[–] LucidNightmare@lemmy.world 2 points 4 months ago

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! :)

[–] sugar_in_your_tea@sh.itjust.works 3 points 4 months ago (1 children)

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

For Synology and RustDesk specifically, I found this in the instructions:

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).

[–] LucidNightmare@lemmy.world 3 points 4 months ago

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! :)

[–] frazorth@feddit.uk 2 points 4 months ago

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.