installing on macOS and Docker #11325
-
Describe the problem you are havingmacOS 13, mac mini intel 3 GHz 6-Core Intel Core i5 16gig 256ssd Trying to get off the ground, the container keeps quitting after 4 seconds. Total docker novice, this is the 1st app I have tried to load. The error keeps telling me it cannot find the frigate config. I look in my folder /Users/me/Docker/frigate and there is a config.yml from the instructions, plus I made a config folder. When I run the install, a config.yml folder shows up inside the config folder. I have tweaked the volumes path a number of times and can't get it to see the config. Feels like a steps is missing from the instructions that I "should know" and don't or am missing. Versionghcr.io/blakeblackshear/frigate:stable Frigate config filemqtt:
enabled: false
cameras:
CameraGB:
ffmpeg:
inputs:
- path: rtsp:https://user:[email protected]/live0
roles:
-rtmp
- detect
- record Relevant log output2024-05-10 02:53:51 2024-05-10 02:53:51.222252997 [INFO] Preparing Frigate...
2024-05-10 02:53:51 2024-05-10 02:53:51.222977005 [ERROR] Frigate config file not found
2024-05-10 02:53:51 2024-05-10 02:53:51.223691112 [INFO] Preparing new go2rtc config...
2024-05-10 02:53:51 2024-05-10 02:53:51.227497739 [INFO] Service Frigate exited with code 1 (by signal 0)
2024-05-10 02:53:51 2024-05-10 02:53:51.227874282 [INFO] Starting NGINX...
2024-05-10 02:53:51 2024-05-10 02:53:51.244223231 [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)
2024-05-10 02:53:51 2024-05-10 02:53:51.244633883 [INFO] Service NGINX exited with code 256 (by signal 15)
2024-05-10 02:53:51 2024-05-10 02:53:51.252487607 [INFO] The go2rtc service exited with code 256 (by signal 15)
========
(HTTP code 400) unexpected - failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/host_mnt/Users/me/Docker/frigate/config/config.yml" to rootfs at "/config/config.yml": mount /host_mnt/Users/me/Docker/frigate/config/config.yml:/config/config.yml (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type FFprobe output from your cameradon't know what this is Frigate statswont run long enough to make stats Operating systemOther Install methodDocker CLI Coral versionCPU (no coral) Network connectionWired Camera make and modeleufy Indoor Cam Mini 2K Any other information that may be helpfulfrom: https://docs.frigate.video/frigate/installation#docker
docker cli
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
here you are mapping what is on the left to what is on the right. In this case you are mapping an entire folder to a single file which is incorrect. It should instead be
|
Beta Was this translation helpful? Give feedback.
- /Users/me/Docker/frigate/config:/config/config.yml
here you are mapping what is on the left to what is on the right. In this case you are mapping an entire folder to a single file which is incorrect. It should instead be
- /Users/me/Docker/frigate/config:/config/