this post was submitted on 02 May 2025
26 points (90.6% liked)

Selfhosted

46648 readers
683 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Hello.

My question is basically the title. Can a jellyfin installed with rootles docker access media that is stored on a encrypted hard drive?

I have almost zero docker experience since i just started using it and I just want to know if it's possible.

you are viewing a single comment's thread
view the rest of the comments
[–] groet@feddit.org 19 points 1 week ago (4 children)

Decryption is not related to root permission.

If the ENCRYPTED drive is mounted to the container, then the container can decrypt it.

If the DECRYPTED drive is mounted to the container, then the container never knows it was encrypted in the first place.

Second case is easier BTW. Just mount the drive on your host, type in the encryption password and you get a new, unencrypted drive. Specify this new drive in your docker compose/docker file.

[–] Octavusss@lemm.ee 2 points 1 week ago (3 children)

Oh sorry seems i explained it poorly.

That encrypted drive drive is set to automount on boot since I added it to /etc/fstatb and /etc/crypttab.

This makes things easier. Thank you for clarifying.

[–] AtariDump@lemmy.world 5 points 1 week ago (2 children)

That encrypted drive drive is set to automount on boot…

This makes things easier.…

But weakens your security posture. If you’re worried enough to encrypt the drive, you shouldn’t be auto mounting it.

[–] Octavusss@lemm.ee 2 points 1 week ago

Yes. But the main ssd where the OS is installed is also encrypted with different password. So you must first unlock the ssd anyway to automount the hdd.

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)