BSDPy do not work in MacOs with docker Container

hsoares
New Contributor

Hello guys

I would like to know why BSDPy do not work in MacOs with docker Container?

hello, today i using in my space one NetSuS for providing to Net Install MacOs clients. But would better using docker.

so, i using this script in ubuntu 18.04 with docker works normally but when i try to use in docker with a docker host in MacOs this do not working and i dont know why. I need some help. Someone please?

#!/bin/bash

docker pull macadmins/tftpd
docker pull macadmins/netboot-httpd
docker pull bruienne/bsdpy:1.0

# Other stuff is above here
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)

chmod -R 777 /usr/local/docker/nbi
IP=192.168.192.191
echo $IP

docker run -d 
  -v /usr/local/docker/nbi/:/nbi 
  --name web 
  --restart=always 
  -p 0.0.0.0:80:80 
  macadmins/netboot-httpd

docker run -d 
  -p 0.0.0.0:69:69/udp 
  -v /usr/local/docker/nbi/:/nbi 
  --name tftpd 
  --restart=always 
  macadmins/tftpd 
  /usr/sbin/in.tftpd --listen --foreground --verbosity=10 --user user -B 1468 /nbi

docker run -d 
  -p 0.0.0.0:67:67/udp 
  -v /usr/local/docker/nbi/:/nbi 
  -e BSDPY_IFACE=en1
  -e BSDPY_NBI_URL=http://$IP 
  -e BSDPY_IP=$IP 
  --name bsdpy 
  --restart=always 
  bruienne/bsdpy:1.0
1 REPLY 1

patgmac
Contributor III

This is a limitation of Docker on Mac hosts last I checked.