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

Menu