python - 我可以在Windows 10 Pro上使用带有最新pycharm 2016.3.2的docker引擎吗

标签 python docker windows-10 pycharm hyper-v

new Docker for Windows作为本地Windows应用程序运行,并使用Hyper-V虚拟化Docker引擎。在pycharm docker插件中,我只能使用docker机器在Pycharm中配置docker。但是我需要在这里配置一个docker引擎。

enter image description here

最佳答案

https://blog.jetbrains.com/pycharm/2015/12/using-docker-in-pycharm/#comment-296772

Since I had a failry hard time getting the remote interpreter running, here is the short version for those using 64bit Windows 10 Pro, Enterprise and Education (1511 November update, Build 10586 or later) as specified here: https://docs.docker.com/engine/installation/windows/#/docker-for-windows And in the future hopefully all recent Windows 10 versions.

There is no need to fiddle around with the docker-machine. When Docker is up and running: 1. Make sure you share the C drive between Docker and your local machine 2. When specifying the remote interpreter set tcp://localhost:2375 as API URL. That’s it.

Regards, Markus



在Windows的更高版本的Docker中,您必须手动启用对端口2375的侦听:

enter image description here

关于python - 我可以在Windows 10 Pro上使用带有最新pycharm 2016.3.2的docker引擎吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41742312/

相关文章:

python - Python 内存管理是如何工作的?

python - 根据 Pandas 中另一列中值的间隔选择列中值的范围

企业代理后面的 Windows 7 上的 Docker VM 主机无法联系代理或更广泛的互联网

c# - 使用 Raspberry pi 调用 rest API windows 10 IoT

python - 按分钟分组索引并计算平均值

python - 如何在 BeautifulSoup.BeautifulStoneSoup 中维护区分大小写的标签?

linux - 从 arm32v7 golang 镜像构建 docker 镜像时出现 exec 格式错误

docker - Docker使用Rest API运行rm

tensorflow - TensorFlow 如何在 Windows 10 上的 GPU 上同时使用共享和专用 GPU 内存?

powershell - 使用 Powershell 强制删除正在使用的文件夹