Docker is installed in the virtual machine Then it goes like this: The directory of the host is mounted to the virtual machine, Then the docker of the virtual machine uses volume to map the directory to the docker container
The principle of boot2docker is to install a streamlined version of Linux virtual machine. The management method and command parameters look very similar to vagrant. I don’t know if it is packaged vagrant. By default, the home directory of the host is mounted to the virtual machine.
Docker is installed in the virtual machine
Then it goes like this:
The directory of the host is mounted to the virtual machine,
Then the docker of the virtual machine uses volume to map the directory to the docker container
The principle of boot2docker is to install a streamlined version of Linux virtual machine. The management method and command parameters look very similar to vagrant. I don’t know if it is packaged vagrant. By default, the home directory of the host is mounted to the virtual machine.