docker-magento icon indicating copy to clipboard operation
docker-magento copied to clipboard

bin/docker-start helper script

Open nkajic opened this issue 2 years ago • 3 comments

Hi @markshust this is just an idea. Please see if it works for you and your project.

bin/docker-start can be used as standalone command to start docker (currently mac only) or can be used inside other automatisation scripts. I use it in another script which recreate local projects from project source and database dumps.

Greetings, Neven

nkajic avatar Jul 05 '23 08:07 nkajic

PR Summary

  • Introduction of Docker Initialization Script A new script has been added that automatically checks if Docker is running, and if not, the script will initiate it. This eliminates the need for manually starting Docker, consequently simplifying the process and improving productivity.

what-the-diff[bot] avatar Jul 05 '23 08:07 what-the-diff[bot]

@markshust is using OrbStack now. Docker Desktop is uninstalled.

rangerz avatar Jul 06 '23 01:07 rangerz

This is interesting, I like it. Though I use OrbStack, we can check to see if that is installed first and if not, then fallback to Docker Desktop. I think this script needs some additions possibly for Linux as well to check if the docker daemon is started and if not, start it there as well.

markshust avatar Jul 10 '23 19:07 markshust