4

Pycharm 怎么使用 Docker 镜像内的 Python 解释器?

 3 years ago
source link: https://www.v2ex.com/t/778329
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  程序员

Pycharm 怎么使用 Docker 镜像内的 Python 解释器?

  lvgsnm · 6 小时 34 分钟前 · 611 次点击

Pycharm 环境在 MacOS , 镜像在 CentOs 服务器上, docker images 命令可以list出来镜像,想直接在 Pycharm 里边配置使用这个镜像里边的 Python 解释器怎么配置,我看 PycharmDocker 配置的 Server 3 个选项的

Docker executable: 
Docker Machine executable:   # 这个 CentOS 上都没这个玩意儿,但 Pycharm 是必填项
Docker Compose executable: 

另外, 到底是选择哪一个 Docker Server

Docker for Mac 
Docker Machine: 
TCP socket 
    Engine API URL: 
    Certificates folder: 

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK