mkdir -p ~/work/run/pxe-debian-install/tftpboot &&
wget http://mirrors.ustc.edu.cn/debian/dists/stretch/main/installer-i386/current/images/netboot/netboot.tar.gz -O - | tar -xz -C ~/work/run/pxe-debian-install/tftpboot
cd ~/work/run/pxe-debian-install &&
docker-compose up
after boot into installer, you should stop the container with:
docker-compose down
otherwise, you target pc can't connect to Internet