
The connection settings depend on your Docker version and operating system.

#Docker convoy plugin how to#
Select an existing Docker configuration in the Server dropdown.Īlternatively, select Create new and perform the following steps to create a new Docker configuration: Create a Docker configurationĬlick New to add a Docker configuration and specify how to connect to the Docker daemon. Click the Add Interpreter link next to the list of the available interpreters. Click the Add Interpreter link next to the list of the available interpreters.Ĭlick the Python Interpreter selector and choose Interpreter Settings. Press Ctrl+Alt+S to open Settings and go to Project: | Python Interpreter. Now, let's define a Docker-based remote interpreter.Ĭlick the Python Interpreter selector and choose Add New Interpreter. Preparing an exampleĬreate a Python project QuadraticEquation, add the Solver.py file, and copy and paste the following code:Ĭonfiguring Docker as a remote interpreter
#Docker convoy plugin install#
Note that you cannot install any Python packages into Docker-based project interpreters. For example, if you're on macOS, select Docker for Mac. In the Settings dialog ( Ctrl+Alt+S), select Build, Execution, Deployment | Docker, and select Docker for under Connect to Docker daemon with. If the plugin is not activated, enable it on the Plugins page of the IDE settings Ctrl+Alt+S as described in Install plugins. The plugin is bundled with P圜harm and is activated by default. Once you have successfully configured an interpreter using Docker, you can go offline.īefore you start working with Docker, make sure that the Docker plugin is enabled. You have stable Internet connection, so that P圜harm can download and run busybox:latest (the latest version of the BusyBox Docker Official Image). Note that you might want to repeat this tutorial on different platforms then use Docker installations for macOS and Linux (Ubuntu, other distributions-related instructions are available as well). You can install Docker on various platforms, but here we'll use the Windows installation. Make sure that the following prerequisites are met:ĭocker is installed, as described in the Docker documentation. P圜harm integration with Docker allows you to run your applications in the variously configured development environments deployed in Docker containers. Configure an interpreter using Docker Introduction
