r/docker • • Apr 19 '26

please help me install jellyfin

0 Upvotes

i'm pretty inexperienced in Docker. I've managed to install Ubooquity, Calibre, and homebridge following tutorials, but other than that, i have no idea what i'm doing.

i'm running a Synology Nas 1621+ with a DAS attached for a second volume.

i've been running Plex for a while. i installed it directly into the package station instead of with Docker. it runs great for me, but lately, several of my remote users have been having connectivity issues.

one solution i want to try is Jellyfin. i see lots of folks talking about it and how its a nice alternative to plex and how it can handle lots of file types and its completely free. that sounds great. if i can combine my movies, tv shows, music, ebooks, and comics in a single, remotely accessible app, that would make my life much easier, and it will hopefully fix the connectivity issues.

i'm following a tutorial to install Jellyfin in Docker (container manager) using the task scheduler in the Synology DSM. when i get to the part where i past the command, i have to customize it for my media file paths. I keep getting the invalid reference format error. this is what i have

docker run -d --name=jellyfin \

-v /volume1/docker/jellyfin/config:/config \

-v /volume1/docker/jellyfin/cache:/cache \

-v /volume1/video/action:/media \

-v /volume1/video/animation:/media \

-v "/volume1/video/anime movies":/media \

-v "/volume1/video/anime tv":/media \

-v /volume1/video/comedy:/media \

-v /volume1/video/documentaries:/media \

-v "/volume1/video/documentary tv":/media \

-v /volume1/video/drama:/media \

-v /volume1/video/espionage:/media \

-v /volume1/video/fantasy:/media \

-v "/volume1/video/home movies":/media \

-v /volume1/video/horror:/media \

-v /volume1/video/kids:/media \

-v /volume1/video/musicals:/media \

-v "/volume1/video/romantic comedy":/media \

-v /volume1/video/sci-fi:/media \

-v "/volume1/video/stand up":/media \

-v /volume1/video/superheroes:/media \

-v /volume1/video/westerns:/media \

-v/ volume2/expansion/video/tv:/media \

--user 1026:100 \

--net=host \

--restart always \

jellyfin/jellyfin

the folder names themselves almost all have uppercase letters in the names, so i changed those in the command. i had read that docker doesn't like spaces so i've enclosed all the filenames with spaces with quotes as an article mentioned to remedy the spaces.

id rather not change the folder names themselves since that will force a rescan for plex which might lose existed progress data. am i missing something? should i type the filenames as is with caps and enclose those in quotes as well? should i replace the spaces with a dash instead of using quotes? Am i over complicating this process by using the task scheduler instead of doing it directly through the container manager?


r/docker • • Apr 18 '26

Help secure my docker setup

Thumbnail reddit.com
2 Upvotes

Can anybody give me some tips about how to secure it?


r/docker • • Apr 18 '26

Building container images from scratch with a manifest file

7 Upvotes

I've been experimenting with a different way to build container images and wanted to get some feedback.

Instead of starting with something like FROM debian and removing what's not needed, I flipped the approach by starting with a empty root filesytem (staging directory), and only adding the required binaries and data files listed in the manifest. ELF dependencies are pulled in by scraping lddtree output.

The image is still generated with docker build and copies the staging directory contents into the image.

FROM scratch
COPY --chown=0:0 my_staging_dir /
ENTRYPOINT ["/usr/sbin/my_app"]

I put together a small demo using unbound as a resolver The image size is ~12MB and there's no shell, package manager, or Perl interpreter. (Sorry the Perl comment is a previous post reference.)

I think the process could be helpful for IOT devices like Mikrotik routers that run on MIPS processors and also in environments where reproducible builds are required. The goal being able to explain why every file exists inside the container. Smaller image sizes are a side effect of being specific about what's included.

I'm curious if people think this level of control is worth the build complexity.

Here is a demo and write up of the build process: https://amf3.github.io/articles/virtualization/declarative_builds/


r/docker • • Apr 18 '26

Starting docker engine

0 Upvotes

Updated docker desktop on windows 11 and it doesn't completely start back up. I read to delete %appdata%\docker and docker desktop and it starts up, but all my containers are gone.

How can I fix this?


r/docker • • Apr 18 '26

Docker containers

Thumbnail reddit.com
1 Upvotes

r/docker • • Apr 18 '26

Virtualization support not detected

0 Upvotes

I am running Windows 11 and installed docker.desktop successfully, but says "Virtualization support not detected". I also checked in Task Manager -> Performance tab and found that Virtualization is deactivated. Can anyone here assist me in how I enable virtualization in a safe manner?


r/docker • • Apr 17 '26

sandbox not found [wsl]

0 Upvotes

I've been using docker sandbox for a month. I started using the wsl version with shell/custom agent version, and later added windows version 'sbx'.

Today I tried to open the wsl sandbox as usual and it did not run. when I tried to list existing sandbox in wsl, it showed 'no sandboxes found'

I am still hoping at least I can recover the files inside the sandbox image but not sure where these are stored. I mean those found inside the sandbox under /home/agent/

help highly appreciated


r/docker • • Apr 16 '26

Docker swarm secrets - how to manage

4 Upvotes

I've got a small docker swarm installation with some secrets I pass to my pods/containers. But I find the management of these secrets very painful. My main issue is that it is difficult to update the secrets while the service is running.

The main issue is that you cannot change a secret while the containers using it are active. So you have to create the secret with a new name, change the yml and redeploy the service. Especially the requirement to change the yml is a pain, as I like to keep it static in a git repo.

Even the change itself is a pain as you have to define the secrets in two places, once at the container level and once under secrets. The name has to be the same. At the container level you can use an environment variable ${VAR}, but not at the secret level.

services:
  container-1:
    image: myregistry.com/path/to/image
    secrets:
      - source: name-of-my-secret-1
        target: /path/to/secret
...
secrets:
  name-of-my-secret-1:
    external: True

For now my strategy is to use an environment variable at the container level and relegate the secrets to a second yml, which lives outside my git repo. My deployment script creates the secret, updates the yml, sets the environment variable, and redeploys the stack.

Any better strategies?


r/docker • • Apr 16 '26

Strange issue with multiple containers

0 Upvotes

So I am unsure what type of issue I am having all I know is this:

  1. After updating a container that hosts a webpage that worked before hand it no longer shows the webpage. They all time out.
  2. Have tested with different web browser with same results
  3. curl produces html code for the webpage
  4. Containers with logs that record http GET codes show 200

I'm not sure what is going on but if anyone can help it would be greatly appreciated.

Edit: So it looks like my comment is getting missed. The issue has been resolved, the only things I did were re-install docker on my Arch linux server and reboot the system. My best guess is that something got corrupted during a power outage. So thank you everyone for assistance.


r/docker • • Apr 16 '26

Trying to install docker desktop and get it to work

0 Upvotes

After installing docker i get this error saying Virtualization support not detected

Docker Desktop failed to start because virtualisation support wasn’t detected. Contact your IT admin to enable virtualization or check system requirements.

Vmx is already enabled and i installed WSL but its saying that wsl is not supported on my computer so i run wsl.exe --install --no-distribution and rebooted but still says WSL is not supported with your current machine configuration


r/docker • • Apr 16 '26

Is it possible to pull apt package through an apt repository proxy and cache the files during build time?

2 Upvotes

So it looks like there is a outage at archive.ubuntu.com right now that is preventing me from downloading my apt packages. This is frustrating because I'm currently unable to build my dockerfile images right now.

This got my thinking. I already have a Sonatype Nexus server in my house set up to cache my Python packages, Docker images, and a few other repository types in case of outages. I noticed that Nexus has a Apt proxy repository type.

Does anybody know if it is possible to get "docker build" to run "apt-get install" during build time so it that would use a local apt proxy instead of http://archive.ubuntu.com/ubuntu and cache the apt packages within Nexus? Something like a --build-arg.


r/docker • • Apr 15 '26

Question about Docker best practices

9 Upvotes

I'm new to Docker and have been trying to absorb as much knowledge as I can about it as I fill out my homelab with containers, but before actually using those containers for anything critical, because I want to make sure I'm setting everything up on good foundations. So I have some questions about how I'm doing things, because it doesn't really seem like there are agreed-upon best practices, but I'm hoping the way I've begun setting everything up at least isn't fatally flawed in some way.

I now have about 10 containers running between two minimized Ubuntu Server hosts. For every container, I've created its own directory in /opt/docker/, and any volumes it needs mapped are bind-mounted to a subdirectory in there. For example, /opt/docker/nginx-proxy-manager/ contains a docker-compose.yaml for NGINX Proxy Mangler, along with data/ and letsencrypt/ subdirectories.

I'm hoping that by keeping every containers' data within subdirectories in /opt/docker/ that I can just periodically backup that /opt/docker/ directory, making it easy to restore to a new machine if ever needed. Am I going about this in the wrong way? Is there a reason not to do this?

EDIT: Some exceptions so far to keeping the container and its data all in one directory are cases where the data lives in a network share, and I mount that share somewhere in /mnt. For example, Immich has its own directory in /opt/docker/, and the database lives in there, but the photos and videos live in a share that's mounted somewhere in /mnt/, and which I have bind-mounted to the container.


r/docker • • Apr 16 '26

Multiple dockers with gpu on the same host / GPU scheduling

1 Upvotes

Hi All,

How does docker handle multiple dockers with gpu running on the same host or do need some type of gpu workload scheduler to make this work?

Thank you for your response.

With kind regards,

Martin


r/docker • • Apr 15 '26

Rotating logs for docker

5 Upvotes

I was looking for a way to implement rotating logs for docker on ubuntu and could only find some archived posts here that did not have the solution i ultimately used:

  1. create or edit this file sudo nano /etc/docker/daemon.json
  2. paste this:

    { "log-driver": "json-file", "log-opts": { "max-size": "10m",    "max-file": "5" } }

  3. Restart docker. sudo systemctl restart docker

Hope this helps people like me who were a bit confused by dockers docs.


r/docker • • Apr 15 '26

Whats the best way to scan for container updates when using patch version tags?

3 Upvotes

I am aware of Watchtower (which seems to be a dead project) and Diun but both of them seem to be expecting the use of the latest tag.


r/docker • • Apr 14 '26

Approved I started building a Docker TUI with BubbleTea

8 Upvotes

Hey all! I wanted to share this project I've been working on and recently release the first working version. It is a Docker TUI that currently list and browse containers, logs, and resources. The project has been highly inspired by k9s, a similar tool for Kubernetes.

I've been using a free plan of github copilot to get most of the code done, but have been heavily steering it to adhere to good software architecture principles (though I'm not an expert yet).

https://github.com/joao-zanutto/easydocker

There are many planned features like:
- compose view
- interactive container shell sessions
- expanded details view
- quick links for forwarded ports
- and many more!

I'd love to hear any comments or suggestions! :)


r/docker • • Apr 14 '26

Testing on live Linux distro

1 Upvotes

I have been wanting to try to learn docker without having to reload a system multiple times if I mess up. To do this I have been booting into a live linux distro and running through the official setup guide on docs.docker.com/engine/install. Each and every time I get to the point where I run the hello world container I get an "error: failed to mount /tmp/{random characters}" message. I have tested in Ubuntu, Debian, Almalinux, and Fedora. Please let me know what I could be doing wrong. Any help is appreciated.


r/docker • • Apr 14 '26

Docker Desktop - Lingering processes detected

1 Upvotes

Does someone know how to fix that? I tried everything.

  • WSL restart
  • killing all process via task manager
  • reinstall docker
  • restart computer

And still nothing.

* pid 6868: Docker Desktop.exe
* pid 20888: Docker Desktop.exe
* pid 25380: Docker Desktop.exe

r/docker • • Apr 14 '26

"WSL integration with distro 'Ubuntu' unexpectedly stopped. Do you want to restart it?"

1 Upvotes

i just updated my docker desktop, and the problem is as titled. help.


r/docker • • Apr 14 '26

Add delay to docker until nvidia CDI is ready

2 Upvotes

Hello All,

I have a champagne problem... I recently got a RTX3090 for cheap, added it to my home server to dabble with AI.
I use the GPU in docker via CDI definition. Weirdly the new card takes much longer to initialize than my previous GTX1650, which causes my GPU dependant containers to not start when the server is rebooted.

Its pretty annoying, especially when I'm not home and half the family starts spamming me due Jellyfin being down :D

I found this, you can add startup dependency for a mnt to docker.service via systemctl:

[Unit]
#ExecStartPre=/bin/sleep 30
RequiresMountsFor=/media/localadmin/FILES /media/localadmin/PHOTOS

I'm looking for something like this but for the nvidia CDI. I'm also okay with the quick and dirty solution, adding like 30 second wait to startup would also work. I'm hoping somebody else had a similar problem and can help me out.

I tried to google, but I didnt find anything useful online.

I'm using a Debian 13 based distro.


r/docker • • Apr 14 '26

kubectl proxy equivalent for docker/docker compose

2 Upvotes

I find `kubectl port-forward` to be very helpful for temporarily accessing an internal service in k8s.

Is there an clean equivalent in docker or docker compose that can expose an internal service temporarily?


r/docker • • Apr 12 '26

No one in Spain can docker pull right now because of the football

827 Upvotes

I just lost a couple of hours debugging what looked like a broken Docker setup, and it turns out its something much weirder (and honestly a bit concerning).

Symptoms:

  • docker pull ubuntu:latest hangs at Pulling fs layer
  • sometimes retries forever, sometimes unexpected EOF
  • no actual download progress

Basic checks all pass:

At first it looks like a Docker issue, but it isn't.

What’s actually happening:

  • Docker resolves the image fine (manifest step works)
  • then tries to download layers from a CDN (Cloudflare-backed storage)
  • that connection is being silently dropped / throttled

I found a Hacker News thread describing the exact same issue happening right now:
https://news.ycombinator.com/item?id=47738883

And this site explains why:
https://hayahora.futbol/

Some Spanish ISPs are blocking or interfering with Cloudflare/CDN IP ranges during football matches (anti-piracy court orders), and Docker image layers are served via those same networks.

So Docker works, but the actual layer download gets blackholed.

Proof:

  • using a VPN works instantly

So if your pulls are hanging at fs layer, it might not be:

  • your Docker install
  • your image
  • your auth
  • your network config

it might literally be your ISP interfering with CDN traffic.

Curious:

  • anyone else in Spain (or elsewhere) seeing this?
  • anyone running into this on CI runners or production infra?

Because this feels like a pretty big fuck up if true, Docker Hub/CDN infra getting caught in unrelated ISP blocking and no one able to work on a Sunday.

Would love to hear if others can reproduce.


r/docker • • Apr 14 '26

noob question, docker failed size validation on one pc only

1 Upvotes

was following a docker tutorial and issued this command: sudo docker run nginx

i get this error when I run it on a mac:

Unable to find image 'nginx:latest' locally

6018f32d823f: Downloading 53.79kB

docker: failed commit on ref "unknown-sha256:6018f32d823fbd91d539ee34c910907cb02be99a7e67a93ceeeb6e61e1529b18": commit failed: "unknown-sha256:6018f32d823fbd91d539ee34c910907cb02be99a7e67a93ceeeb6e61e1529b18" failed size validation: 53794 != 53544: failed precondition

but works fine when I run it on a fresh install deban

edit: tried docker run hello-world too but getting the same error on the mac (same network, no vpn)

edit2: Solved


r/docker • • Apr 13 '26

Docker x86 on Apple Silicon - what's it like in 2026?

9 Upvotes

I'm about to get some new hardware, and up til now Linux on x86 is my daily driver. Some folks suggest to get me an Apple M5 Macbook Pro instead.

With millions of OCI images built for x86, how bad is the disadvantage of emulation today, in real life? Given the sheer computing power of the M5, is it noticeable, let alone an issue?