티스토리 뷰

http://tuhrig.de/mount-windows-folder-to-boot2docker-vm/

Boot2Docker VM 안에서 윈도우 폴더를 사용하려면 마운트 해야 함. 먼저, 윈도우 폴더를 VM에 마운트:

SSH 통하여 VM 로그인 (boot2docker ssh) 하고 다음을 따라한다:

VM 안에서 폴더 생성:

Mount your stuff from Windows:

After that, you can access c:/my/folder/with/code inside your Boot2Docker VM:

Now, that your code is present inside your VM, you can use it with Docker. Either by mounting it as a volume to the container:

Or by using it while building your Docker image:


댓글