docker:python与docker

One: Preparing the Environment

  pycharm: Professional Edition (windows)

  docker ce free version (ubantu16.04)

  the:

  os: Firewall

II: Development Process

  pycharm the development environment to build works:

  

  • 1. pycharm environment configuration docker  

  docker architecture is based on c / s, the server on the client link ubantu on ubantu operate, but pycharm on the windows you want to link server ubantu on the need to change the profile information server.

  etc / dcoker / daemon.json only readable file, adding information: After a password w sudo tee%:! Q to quit.

  配置完重启service docker restart报错:Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.

  

  •  pycharm in use docker run python program
  •  pycharm used dockerfile
  •  pycharm using docker-compose.yaml
  •  Use pycharm + docker build reptiles operating environment

Guess you like

Origin www.cnblogs.com/meloncodezhang/p/11512506.html