Basically any changes I make while SSHed into the VM are lost at restart of the VM. I am assuming the problem is associated with the error when I stop the VM.
C:UsersTom>boot2docker stop
error in run: Failed to stop machine "boot2docker-vm": exit status 1
But, I may just be doing something dumb.
The sequence I followed is below (docker logo elided), you can see it losing the sample directory across the restart.
C:UsersTom>boot2docker up
Waiting for VM and Docker daemon to start.......................ooo
Started.
Writing C:UsersTom.boot2dockercertsoot2docker-vmca.pem
Writing C:UsersTom.boot2dockercertsoot2docker-vmcert.pem
Writing C:UsersTom.boot2dockercertsoot2docker-vmkey.pem
Docker client does not run on Windows for now. Please use
"boot2docker" ssh
to SSH into the VM instead.
C:UsersTom>boot2docker ssh
Boot2Docker version 1.5.0, build master : a66bce5 - Tue Feb 10 23:31:27 UTC 2015
Docker version 1.5.0, build a8a31ef
docker@boot2docker:~$ ls
boot2docker, please format-me
docker@boot2docker:~$ mkdir testdir
docker@boot2docker:~$ ls
boot2docker, please format-me testdir/
docker@boot2docker:~$ exit
C:UsersTom>boot2docker stop
error in run: Failed to stop machine "boot2docker-vm": exit status 1
C:UsersTom>boot2docker status
poweroff
C:UsersTom>boot2docker start
Waiting for VM and Docker daemon to start...
....................ooo
Started.
Writing C:UsersTom.boot2dockercertsoot2docker-vmca.pem
Writing C:UsersTom.boot2dockercertsoot2docker-vmcert.pem
Writing C:UsersTom.boot2dockercertsoot2docker-vmkey.pem
Docker client does not run on Windows for now. Please use
"boot2docker" ssh
to SSH into the VM instead.
C:UsersTom>boot2docker ssh
Boot2Docker version 1.5.0, build master : a66bce5 - Tue Feb 10 23:31:27 UTC 2015
Docker version 1.5.0, build a8a31ef
docker@boot2docker:~$ ls
boot2docker, please format-me
docker@boot2docker:~$
Running
- Windows: 8.1
- VirtualBox: 4.3.12 r93733
- Boot2Docker version 1.5.0, build master : a66bce5 - Tue Feb 10 23:31:27 UTC 2015
- Docker version 1.5.0, build a8a31ef
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…