Open justinmclean opened 5 months ago
Think twice. The shell shouldn't take effect. The shell of init.sh
should be executed in the Docker image container. The ports are available all the time.
Ah, yes, you are right. This doesn't fix the issue; I'll pull the script out and place them in the launch script.
Is the scrip ok for both mac and linux?
Is the script ok for both Mac and Linux?
Yep see https://manpages.ubuntu.com/manpages/bionic/en/man8/lsof.8.html
Add scripts to check if ports are in use and that means the user is likely running MySQl or Posgres locally. I assume for this scripts to run new MySQL and Postgres docker images will need to be made. I tested the scripts manually and they detected if the port was in use.