Skip to content

Succeeded on first run, fails on every subsequent run #27

@timmead

Description

@timmead

I'm attempting to run this on MacOS using Orbstack. The first run was successful:

sudo docker compose up
[+] Running 1/1
 ✔ Container rtsp-to-onvif-rtsp-to-onvif-1  Created                                                                          0.0s 
Attaching to rtsp-to-onvif-1
rtsp-to-onvif-1  | mv: cannot move '/etc/resolv.conf.dhclient-new.wc8yHqDPSN' to '/etc/resolv.conf': Resource busy
rtsp-to-onvif-1  | 22:06:03.051 ERROR NET_SCAN: No interface with MAC 1a:11:b0:d1:fd:d7
rtsp-to-onvif-1  | 22:06:03.051 INFO  NET_CONF: ADD - rtsp2onvif_0 MAC: 1A:11:B0:D1:FD:D7
rtsp-to-onvif-1  | 22:06:03.057 DEBUG {"type":"Buffer","data":[]}
rtsp-to-onvif-1  | 22:06:03.057 INFO  NET_CONF: DHCP - rtsp2onvif_0
rtsp-to-onvif-1  | 22:06:03.087 DEBUG {"type":"Buffer","data":[]}
rtsp-to-onvif-1  | 22:06:03.088 DEBUG NET_SCAN: Found 198.19.249.218 on rtsp2onvif_0 for MAC 1a:11:b0:d1:fd:d7
rtsp-to-onvif-1  | 22:06:03.088 INFO  
rtsp-to-onvif-1  | 22:06:03.088 INFO  SERVER: FrontDoorCamera - HTTP listening on 198.19.249.218:8081
rtsp-to-onvif-1  | 22:06:03.091 INFO  PROXY: 8554 --> 192.168.1.90:554
rtsp-to-onvif-1  | (node:1) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
rtsp-to-onvif-1  | (Use `node --trace-deprecation ...` to show where the warning was created)
rtsp-to-onvif-1  | (node:1) [DEP0047] DeprecationWarning: The `util.isDate` API is deprecated.  Please use `arg instanceof Date` instead.
Gracefully stopping... (press Ctrl+C again to force)
[+] Stopping 1/1
 ✔ Container rtsp-to-onvif-rtsp-to-onvif-1  Stopped   

However, attempts to run it again fail instantly:

sudo docker compose up
[+] Running 1/1
 ✔ Container rtsp-to-onvif-rtsp-to-onvif-1  Created                                                                          0.0s 
Attaching to rtsp-to-onvif-1
rtsp-to-onvif-1  | RTNETLINK answers: File exists
rtsp-to-onvif-1  | Error: ipv4: Address already assigned.
rtsp-to-onvif-1  | mv: cannot move '/etc/resolv.conf.dhclient-new.kxIkzJzoXO' to '/etc/resolv.conf': Resource busy
rtsp-to-onvif-1  | 22:13:00.996 ERROR NET_SCAN: No interface with MAC 1a:11:b0:59:3f:11
rtsp-to-onvif-1  | 22:13:00.996 INFO  NET_CONF: ADD - rtsp2onvif_0 MAC: 1A:11:B0:59:3F:11
rtsp-to-onvif-1  | 22:13:01.001 DEBUG Command failed: ip link add rtsp2onvif_0 link eth0 address 1A:11:B0:59:3F:11 type macvlan mode bridge
rtsp-to-onvif-1  | RTNETLINK answers: File exists
rtsp-to-onvif-1  | 
rtsp-to-onvif-1  | 22:13:01.001 INFO  NET_CONF: DHCP - rtsp2onvif_0
rtsp-to-onvif-1  | 22:13:01.032 DEBUG {"type":"Buffer","data":[]}
rtsp-to-onvif-1  | 22:13:01.033 ERROR NET_SCAN: No interface with MAC 1a:11:b0:59:3f:11
rtsp-to-onvif-1  | 22:13:01.033 ERROR Failed to find IP address for MAC address 1A:11:B0:59:3F:11
rtsp-to-onvif-1  | (node:1) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
rtsp-to-onvif-1  | (Use `node --trace-deprecation ...` to show where the warning was created)
rtsp-to-onvif-1  | (node:1) [DEP0047] DeprecationWarning: The `util.isDate` API is deprecated.  Please use `arg instanceof Date` instead.
rtsp-to-onvif-1 exited with code 0

Any suggestions as to why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions