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.
That is what I explained in "Windows Boot2Docker behind corporate proxy": there is no persistence in the Tiny Core used by boot2docker as a Linux VM.
You need to make sure the VirtualBox has the Oracle_VM_VirtualBox_Extension_Pack downloaded and added in the Virtual Box / File / Settings / Extension / add the
Oracle_VM_VirtualBox_Extension_Pack-4.x.yy-zzzzz.vbox-extpack
file).As documented in boot2docker, you will have access (from your Tiny Core ssh session) to
/c/Users/<yourLogin>
(ie the%USERPROFILE%
is shared by Virtual Box)
What I do in my b2d.bat start script is copy the files I want to be restored (mainly docker profile
or .ashrc
, for http_proxy settings and favorite aliases), and keep all my other modifications in /c/Users/<yourLogin>
.