Docker configuration for Pycharm
- Install Pycharm Pro,GIT and Docker. Open pycharm pro and Docker should be running in the background.
- In pycharm go to settings --> Build, Execution and Deployment in there select “docker”.
- Use the following configuration for Docker Pycharm Integration:
Docker Toolbox: Windows Non-Pro
Docker Native: Windows Pro
- From Docker settings copy expose daemon link in TCP socket.Then click 'ok'
- Add configuration in pycharm project select docker file.
Check whether the run built image is ticked.
- Add interpreter select docker it registers itself and click ok.
Dockerizing your python application:
- Create Dockerfile
- Create python file
- Run the docker file and you will get the output.