通过docker

时间:2017-08-28 12:56:21

标签: docker google-cloud-datalab google-earth-engine

我试图在我的Windows(Home Edition)PC中安装Google Earth Engine Datalab(以使用Python API)。由于我无法按原样安装docker,因此我安装了Docker Toolbox。然后,我已按照https://developers.google.com/earth-engine/python_install-datalab-local

中的说明安装了最新图像

一切都很顺利。在Kitematic中,我可以看到图像正在运行。它告诉我通过http://localhost:8081打开Datalab,但是当我打开它时,什么都没有出现。当我点击预览'在Kitematic中,它会打开另一个网址(http://192.168.99.100:8081),但也无效。

尝试使用docker我已经安装了'hello-world-nginx',它运行正常。由于它使用服务器 - 客户端协议,我认为问题在于地球引擎图像。我也在Linux PC上安装它并且工作正常。

当我跑步时

  

docker logs' docker ps -q -l'

/website_files/index.html not found.
Copying default index.html...
nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (2: No such file or directory)
2017/08/24 12:17:11 [notice] 6#0: using the "epoll" event method
2017/08/24 12:17:11 [notice] 6#0: nginx/1.4.7
2017/08/24 12:17:11 [notice] 6#0: built by gcc 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r45973)
2017/08/24 12:17:11 [notice] 6#0: OS: Linux 4.4.83-boot2docker
2017/08/24 12:17:11 [notice] 6#0: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2017/08/24 12:17:11 [notice] 6#0: start worker processes
2017/08/24 12:17:11 [notice] 6#0: start worker process 7
192.168.99.1 - - [24/Aug/2017:12:17:11 +0000] "GET / HTTP/1.1" 200 361 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Kitematic/0.17.0 Chrome/45.0.2454.85 Electron/0.35.4 Safari/537.36"
192.168.99.1 - - [24/Aug/2017:12:18:31 +0000] "GET / HTTP/1.1" 200 361 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
2017/08/24 12:18:32 [info] 7#0: *3 client closed connection while waiting for request, client: 192.168.99.1, server: 0.0.0.0:80
2017/08/24 12:18:32 [info] 7#0: *2 client 192.168.99.1 closed keepalive connection
2017/08/24 12:18:32 [error] 7#0: *4 open() "/usr/htmlindex.html" failed (2: No such file or directory), client: 192.168.99.1, server: , request: "GET /favicon.ico HTTP/1.1", host: "192.168.99.100:32768", referrer: "http://192.168.99.100:32768/"
192.168.99.1 - - [24/Aug/2017:12:18:32 +0000] "GET /favicon.ico HTTP/1.1" 404 199 "http://192.168.99.100:32768/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36"
2017/08/24 12:18:42 [info] 7#0: *4 client 192.168.99.1 closed keepalive connection
/website_files/index.html found.
nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (2: No such file or directory)
2017/08/24 12:29:13 [notice] 5#0: using the "epoll" event method
2017/08/24 12:29:13 [notice] 5#0: nginx/1.4.7
2017/08/24 12:29:13 [notice] 5#0: built by gcc 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r45973)
2017/08/24 12:29:13 [notice] 5#0: OS: Linux 4.4.83-boot2docker
2017/08/24 12:29:13 [notice] 5#0: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2017/08/24 12:29:13 [notice] 5#0: start worker processes
2017/08/24 12:29:13 [notice] 5#0: start worker process 6
192.168.99.1 - - [24/Aug/2017:12:29:13 +0000] "GET / HTTP/1.1" 200 361 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Kitematic/0.17.0 Chrome/45.0.2454.85 Electron/0.35.4 Safari/537.36"

0 个答案:

没有答案