- in docker-machine VM, create a shared file mapping of local folder to guest(VM) folder. E.g. D:/projects/docker to docker-projects
docker-machine restart
to take effect
- from the mount folder, git checkout this repository
- go to https://github.com/docker/compose/releases and look for the latest release
- change sh/install-docker-compose.sh DOCKER_COMPOSE_VERSION to latest release
- ssh into the docker-machine
- go to the sh folder,
cd ${mount_folder}/docker-study/sh
- then
chmod +x install-docker-compose.sh
to make it executable - to run the shell
sh install-docker-compose.sh
s