How to boot the hyperv version of docker in windows and start it automatically?

  • check in the Settings of docker. Start docker when you log in Boot will not start

  • hyperv Control Panel directly sets self-start operation has no effect, and will cause manual docker startup to fail

how do I set up to start the service automatically?

Jul.26,2021

my solution is to turn on the script and run it automatically

create a new docker_start.bat in C:\ ProgramData\ Microsoft\ Windows\ Start Menu\ Programs\ Startup , file content:

docker-machine start

solution


windows 2008 boot up Docker Toolbox and run the container

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b39813-2c1a7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b39813-2c1a7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?