티스토리 뷰
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:
1 2 3 | ... ADD /mnt/windows /folder ... |
'OS-서버-서비스 > Docker' 카테고리의 다른 글
Habitus: 도커를 위한 흐름 도구 (0) | 2016.09.01 |
---|---|
Kitematic Hostname/IP doesn't match certificate's altnames (0) | 2015.08.30 |
boot2docker bash shell 사용 (0) | 2015.08.03 |
Docker compose 격리된 컨테이너 조합 실행 (0) | 2015.07.23 |
Docker mysql 5.1 컨테이너 빌드에서 쉘 실행까지 (0) | 2015.07.17 |
댓글
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- classic asp
- Linux
- sencha touch
- javascript
- CSS
- Wordpress
- JQuery
- Mac
- IOS
- Debug
- PHP
- mssql
- API
- 한글
- Prototype
- centos
- git
- macos
- laravel
- IE
- ASP
- nodejs
- nginx
- 안드로이드
- Android
- 워드프레스
- iphone
- iis
- JSON
- Docker
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
글 보관함