2024-12-18, 02:49 AM
(This post was last modified: 2024-12-18, 04:49 AM by Pollo. Edited 2 times in total.)
Hello! I am trying to set up docker and after using the documentation for docker compose setup, I'm getting this error when I try to start the container with docker compose up:
"Error response from daemon: unable to find user pete: no matching entries in passwd file"
I don't understand why i'm getting this error because my user is in the passwd file already. I am running the latest stable build of the Ubuntu docker container runtime (27.2.0). Here is my docker-compose.yml file:
Any help will be appriciated!
"Error response from daemon: unable to find user pete: no matching entries in passwd file"
I don't understand why i'm getting this error because my user is in the passwd file already. I am running the latest stable build of the Ubuntu docker container runtime (27.2.0). Here is my docker-compose.yml file:
Code:
services:
jellyfin:
image: 'jellyfin/jellyfin:latest'
container_name: jellyfin
user: pete:pete
network_mode: 'host'
ports:
- 8096:8096
volumes:
- /var/snap/docker/common/var-lib-docker/volumes/jellyfin-config:/config
- /var/snap/docker/common/var-lib-docker/volumes/jellyfin-cache:/cache
- type: bind
source: /media/pete/{media dir}
target: /media
#- type: bind
#source: /path/to/media2
#target: /media2
#read_only: true
# Optional - extra fonts to be used during transcoding with subtitle burn-in
- type: bind
source: /home/pete/snap/docker/jellyfin/fonts
target: /usr/local/share/fonts/custom
read_only: true
restart: 'unless-stopped'
# Optional - alternative address used for autodiscovery
#environment:
#- JELLYFIN_PublishedServerUrl=http://example.com
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
extra_hosts:
- 'host.docker.internal:host-gateway'
Any help will be appriciated!