Skip to content

Config file not being created #2745

@romsandmore

Description

@romsandmore

What do you need help with?

I am trying to run pyatv in a docker container, but it is not creating any pyatv.conf file after running the wizard. Does anyone have the persistent mount working with a docker container?

docker run -it --rm --network=host -v ~/docker/pyatv_config:/root/.config/pyatv ghcr.io/postlund/pyatv:latest atvremote wizard

Pairing finished, trying to connect and get some metadata...
Currently playing:
  Media type: Unknown
Device state: Idle
      Repeat: Off
     Shuffle: Off
Device is now set up!
Name: Entertainment Room
Model/SW: Apple TV 4K, tvOS 18.5
Address: 192.168.100.120
MAC: 46:4B:DE:8F:33:0F
Deep Sleep: False
Identifiers:
 - 444BDE8F-330F-4EEE-AD80-4611A9A4B347
 - 46:4B:DE:8F:33:0F
 - 464BDE8F330F
Services:
 - Protocol: Companion, Port: 49153, Credentials: None, Requires Password: False, Password: None, Pairing: Mandatory
 - Protocol: AirPlay, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: Mandatory
 - Protocol: RAOP, Port: 7000, Credentials: None, Requires Password: False, Password: None, Pairing: Mandatory
pi@raspberrypi:~ $ ls ~/docker/pyatv_config
pi@raspberrypi:~ $

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions