tmy_unr8t Posted March 24 Share Posted March 24 (edited) Hallo, ich möchte gerne den flobz/psa_car_controller als Docker in Unraid laufen lassen. Die Doku findet man hier: https://github.com/flobz/psa_car_controller/blob/master/docs/Docker.md Hier die Kurzfassung: With Docker: docker run -d -ti --name psa_car_controller1 \ --publish 5000:5000 \ -v /host_path/config:/config \ --restart unless-stopped \ flobz/psa_car_controller Go to http://127.0.0.1:5000 and follow instruction Environment variable: You can modify some parameter with docker environment variable: variabledescription PSACC_CONFIG_DIR - overide configuration directory PSACC_PORT - change port PSACC_OPTIONS - add cli argurment Wenn ich nun den Container erstelle, bekomme ich folgende Fehlermeldung: docker run -d --name='psa_car_controller' --net='bridge' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e HOST_HOSTNAME="Thinky" -e HOST_CONTAINERNAME="psa_car_controller" -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:5000]/' -p '5000:5000/tcp' -v '/mnt/user/appdata/psa_car_controller/config/':'config':'rw' 'flobz/psa_car_controller' docker: Error response from daemon: invalid volume specification: '/mnt/user/appdata/psa_car_controller/config/:config:rw': invalid mount config for type "bind": invalid mount path: 'config' mount path must be absolute. See 'docker run --help'. Den Unterordner /psa_car_controller/config habe ich manuell über Shares -> AppData angelegt. Habe ich den Path im Container für "Config" falsch konfiguriert? Muss ich für PSACC_CONFIG_DIR & PSACC_PORT & PSACC_OPTIONS ebenfalls Pfade konfigurieren? Edited March 24 by tmy_unr8t Quote Link to comment
Solution cz13 Posted March 24 Solution Share Posted March 24 16 minutes ago, tmy_unr8t said: docker: Error response from daemon: invalid volume specification: '/mnt/user/appdata/psa_car_controller/config/:config:rw': invalid mount config for type "bind": invalid mount path: 'config' mount path must be absolute. Vor config auf Containerseite fehlt ein / also: /mnt/user/appdata/psa_car_controller/config/:/config:rw Quote Link to comment
cz13 Posted March 24 Share Posted March 24 19 minutes ago, tmy_unr8t said: Muss ich für PSACC_CONFIG_DIR & PSACC_PORT & PSACC_OPTIONS ebenfalls Pfade konfigurieren? So wie ich das lese kannst du mit diesen Variablen von den Standardwerten abweichen bei Bedarf. Willst du das nicht sollten die nicht nötig sein. Quote Link to comment
tmy_unr8t Posted March 24 Author Share Posted March 24 Perfekt. Vielen Dank. Hat geholfen! 1 Quote Link to comment
MichaFischer Posted March 29 Share Posted March 29 Hallo Wie hast du den Container in Unraid angelegt, mit dem Docker run Befehl oder als neuen Container unter dem Register Docker ? Mit dem Befehl funktioniert das leider nicht richtig Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.