Turning a Configured Server Into a Docker Container

How to:

A Docker container is a standalone executable package containing everything needed to run piece of software while isolating it from the environment.

The server now includes a UNIX/Linux shell script that you can use as a template for turning a configured server into a Docker container. Turning a configuration into a Docker container requires a working Docker environment where the server administrator is allowed to create and manage Docker containers. The shell script is in the EDAHOME/bin directory and is named ibidockerize.sh.

Procedure: How to Turn a Server Configuration Into a Docker Container

Prior to editing the script, visit the Docker web site (https://www.docker.com/) for information on Docker features to accomplish your task.

The template is written for UNIX and Linux, however, the same concepts/steps apply to Windows (it is up to the customer to rewrite it for windows, if needed).

  1. Copy the ibidockerize.sh file from the EDAHOME/bin directory to a local directory and open it for editing.

    Note: The script is highly commented and easy to follow (the actual program code is less than 10 lines).

  2. Edit the installation paths and HTTP ports to the ones used in your server configuration.
  3. Add paths for any additional software needed to support the configuration, such as DBMS software and JVM software.

    You can edit the script to conform to the needs of your site.

  4. Save and run the script to create the container.

    You can then redistribute the container according to your needs.

WebFOCUS

Feedback