Hello,
I would like Docker Engine to start only after starting VM (PFSense). I downloaded Script from the Internet and I know when Pfsense is ready:
#!/bin/bash
printf "MT - %s" "czekam na uruchomienie pfSense ..."
while ! ping -c 1 -n -w 1 192.168.1.1 &> /dev/null
do
printf "%c" "."
done
printf "\n%s\n" "MT - pfSense jest już online"
How to start Docker Engine now, just like using the Settings -> Docker -> Enabled Docker = Yes
Pfsense assigns me an IP in my network in 192.168.1.0, and the first pool is reserved for Docker containers.
Now, when Unraid restart, the docker containers do not start. The delay of running by 5 minutes of containers Docker does not help.
I used:
/etc/rc.d/rc.docker start
/etc/rc.d/rc.docker stop
but it's bad.