1
Windows 용 Docker Toolbox를 회사 프록시에서 사용하는 데 문제가 있습니다.boot2docker : 호스트 경로가 없습니다.
도커 로그인 또는 도커 작동이 작동하지 않을 수 있으므로 여기 디버깅을 수행했습니다.
가상 머신 내에 일반 우분투 컴퓨터를 만들었습니다.
$ curl 10.0.2.2:8000
$ [it retrieves the html being served]
$ curl www.google.com
$ curl (7) Failed to connect to www.google.com port 80: Connection refused
$ export http_proxy=http://my-proxy:3128
$ curl www.google.com
$ curl: (7) Failed to connect to my-proxy:3128: No route to host
여기 무슨 일이야 : boot2docker에
$ curl 10.0.2.2:8000
$ [it retrieves the html being served]
$ curl www.google.com
$ curl (7) Failed to connect to www.google.com port 80: Connection refused
$ export http_proxy=http://my-proxy:3128
$ curl www.google.com
$ [302 HTTP response from google]
: 내 호스트 시스템에서
, 나는 포트 우분투에서 8000
에서 실행되는 간단한 서버를 시작?
@ 매트 - 아니 - '어떤 경로 – dwjohnston
당신은'$ (boot2docker의 shellinit)'실행 했 host' 없습니다? (https://github.com/boot2docker/boot2docker/issues/672#issuecomment-77166520 이하) – VonC
@VonC - boot2docker를 명령 줄 인수로 사용하지 않아도됩니까? – dwjohnston