RubyMine 2017.2 Help

Docker

File | Settings | Build, Execution, Deployment | Docker for Windows and Linux
RubyMine | Preferences | Build, Execution, Deployment | Docker for macOS


Specify the settings for accessing the Docker API. If you are going to use Docker Compose, make sure that the Docker Compose executable setting on the Docker | Tools page is correct.

See also, Docker how tos.

ItemDescription
NameThe name of the configuration.
Connect to Docker daemon with Docker for Mac. For macOS only: If you are using Docker for macOS, this is the recommended connection option.

Unix socket. For Linux only: This is the recommended connection option for Linux.

Docker Machine. If you are using Docker Toolbox for Windows or macOS, this is the recommended option for connecting to Docker API.

The Connection successful message should appear right away. If it doesn't, check your Docker Machine executable setting on the Docker | Tools page.

If you have more than one Docker Machine installed and running, use the list to select which of the Machines should be used.

TCP socket. If you are using Docker for Windows, this is the usual connection option. This option will also work for Linux, Docker for macOS and Docker Toolbox.

  • Engine API URL. Depending on the Docker version and operating system:
    • Docker for Windows: tcp://localhost:2375

      IMPORTANT! In the General section of your Docker settings, turn on the Expose daemon on tcp://localhost:2375 without TLS option.

    • Docker for macOS or Linux: unix:///var/run/docker.sock
    • Docker Toolbox for Windows or macOS: https://192.168.99.100:2376
  • Certificates folder. The path to the certificates folder - if you are using Docker Toolbox. Depending on your Docker version and operating system:
    • Docker for Windows, macOS or Linux: This field must be empty.
    • Docker Toolbox for Windows: <your_home_directory>\.docker\machine\machines\default
    • Docker Toolbox for macOS: usually, <your_home_directory>/.docker/ or its subdirectory.
Path mappings For Windows and macOS: Specify the host - virtual machine path mappings for folders that you are going to map to container volumes.

Use /help/img/idea/2017.2/edit1.png to edit an existing mapping, or /help/img/idea/2017.2/add.png to create a new one. In the dialog that opens:

  • Local path. The path to a local folder that you want to make available for volume bindings.
  • Virtual machine path. The corresponding directory path in the Docker virtual machine's file system.

See Also

Last modified: 21 July 2017