How to automatically start docker container on windows boot ~ Wait for docker to be running

Add

restart: unless-stopped

or

restart: always

to the container in your docker-compose.yml, then use docker-compose up manually once more. This will make Docker to start the container after Docker itself is started.