Docker
Docker provides a powerful and flexible platform for building and deploying applications on Linux. It offers a range of benefits, including portability, isolation, efficiency, consistency, and security, which can help to streamline the development and deployment process and improve the overall quality of your applications. It is recommended to use it for multiple versions installed in parallel.
You can install BlueBox tools on Linux for Verified builds (monthly) and Hot fix builds (weekly). The difference between them is explained in winIDEA Release Notes.
Before using the Docker engine, follow the instructions from Docker to configure the system properly.
Docker supports the installation of multiple versions of the package. Use the correct tag of Docker image at starting Docker. |
Create a working directory (e.g., ${HOME}/dwinidea) and move into it. |
$ mkdir ${HOME}/dwinidea |
Copy the run script into this directory from the local network using scp or download it from the official website. |
$ curl https://www.isystem.com/downloads/winIDEA/setup/docker-winidea > docker-winidea |
Set the executable permissions to run the script. |
$ chmod +x ./docker-winidea |
Download and import the winIDEA Docker image. |
It requires sudo privileges to setup USB mapping.
•from the official server (latest Verified build)
$ ./docker-winidea import |
•from the official server (Hot fix build where the argument value <version> is, e.g., 9.21.259-179304)
$ ./docker-winidea import --version=<version> |
•from the local disk (in case when official server is not reachable from host, e.g., winidea-9.21.253-177139.amd64.tar.xz)
a.First download winIDEA Docker image and copy it to the host. Contact Technical support if you don’t know the download link.
b.Import the Docker image.
$ ./docker-winidea load-file --image=<path to image file> |
Run winIDEA from Docker. |
Runtime script offers several useful command arguments for customizing the runtime Docker environment (use the --help option to show them).
$ ./docker-winidea --help |
Example output:
Usage: |
•run winIDEA with basic environment
$ ./docker-winidea run |
•run winIDEA with customized arguments
$ ./docker-winidea run --cmd="winidea <optional args>" |
•run winIDEA with mapping from an existing winIDEA workspace directory and custom utilities into the Docker working directory
$ ./docker-winidea run ${HOME}/workspaces/testWS:${PWD}/WS|${HOME}/my-utils:${PWD}/utils" |
•run headless winIDEA
$ ./docker-winidea run --nox |
•run bash and start headless winIDEA in the background from there
$ ./docker-winidea run --nox --cmd bash |