• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: unable to find user in passwd file (docker compose)

     
    • 0 Vote(s) - 0 Average

    SOLVED: unable to find user in passwd file (docker compose)

    Pollo
    Offline

    Junior Member

    Posts: 14
    Threads: 3
    Joined: 2024 Oct
    Reputation: 0
    Country:United States
    #1
    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:
    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!
    Go to solution
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    unable to find user in passwd file (docker compose) - by Pollo - 2024-12-18, 02:49 AM
    RE: unable to find user in passwd file (docker compose) - by theguymadmax - 2024-12-18, 03:10 AM
    RE: unable to find user in passwd file (docker compose) - by Pollo - 2024-12-18, 05:17 AM
    RE: unable to find user in passwd file (docker compose) - by theguymadmax - 2024-12-18, 05:02 PM
    RE: unable to find user in passwd file (docker compose) - by Pollo - 2024-12-19, 01:02 AM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode