I'm trying to assign IP (which is obtained from DHCP server) to a docker container (actually a Gitlab container).
I used the command sudo pipework/pipework p13p1 gitlab-instance udhcpc-f 9e:01:b2:2b:08:62.
But it keeps showing the message:
udhcpc (v1.21.1) started
SIOCSIFFLAGS: Device or resource busy
Sending discover...
udhcpc: sendto: Network is down
Read error: Network is down, reopening socket
Sending discover...
udhcpc: sendto: Network is down
Read error: Network is down, reopening socket
Sending discover...
udhcpc: sendto: Network is down
Read error: Network is down, reopening socket
/etc/udhcpc/default.script: Lease failed:
Read error: Network is down, reopening socket
Read error: Network is down, reopening socket
Read error: Network is down, reopening socket
Read error: Network is down, reopening socket
Read error: Network is down, reopening socket
Read error: Network is down, reopening socket
Read error: Network is down, reopening socket
Sending discover...
udhcpc: sendto: Network is down
Read error: Network is down, reopening socket
Sending discover...
udhcpc: sendto: Network is down
Read error: Network is down, reopening socket
Sending discover...
udhcpc: sendto: Network is down
Read error: Network is down, reopening socket
Hi,
I'm trying to assign IP (which is obtained from DHCP server) to a docker container (actually a Gitlab container). I used the command
sudo pipework/pipework p13p1 gitlab-instance udhcpc-f 9e:01:b2:2b:08:62
. But it keeps showing the message:This is probably related to https://github.com/jpetazzo/pipework/issues/163 But I still can't figure out how this works. Any one encounter the same situation?
Thank you!