Operating system: Windows10
Using:
- Oracle VM VirtualBox
- DockerToolbox v1.9.1i
Hi, do you know how to start a container automatically at boot2docker boot?
I have created a new machine with docker-machine. Then I have run a new container with docker run. It's all up and and running, but when I shutdown my Windows and try to start my docker machine the container inside doesn't start. I have tried to add docker start id command to the file /mnt/sda1/var/lib/boot2docker/profile but it doesn't work.
I have tried also to connect to the virtual machine with ssh (docker-machine ssh name) and run the command docker start id without success. Finally I have to stop and remove the container and make a docker run again.