Skip to content

Setup as a Docker Image

Deploy Eclipse Dirigible in Docker.

Prerequisites

Install Docker.

Steps


  1. Pull the Dirigible Docker image:

    docker pull dirigiblelabs/dirigible:latest
    
  2. Start the container:

    docker run --name dirigible \
    --rm -p 8080:8080 -p 8081:8081 \
    dirigiblelabs/dirigible:latest
    
    docker run --name dirigible \
    -v <your-local-directory>:/usr/local/tomcat/target \
    --rm -p 8080:8080 -p 8081:8081 \
    dirigiblelabs/dirigible:latest
    
    docker run --name dirigible \
    -e DIRIGIBLE_BRANDING_NAME="My Web IDE" \
    -e DIRIGIBLE_BRANDING_BRAND="WebIDE" \
    -e DIRIGIBLE_BRANDING_BRAND_URL="https://www.eclipse.org" \
    -e DIRIGIBLE_THEME_DEFAULT="fiori" \
    --rm -p 8080:8080 -p 8081:8081 \
    dirigiblelabs/dirigible:latest
    

    Note

    The complete list of Dirigible environment variables could be found here.

    docker run --name dirigible \
    -e JPDA_ADDRESS=0.0.0.0:8000 \
    -e JPDA_TRANSPORT=dt_socket \
    --rm -p 8000:8000 -p 8080:8080 -p 8081:8081 \
    dirigiblelabs/dirigible:latest
    

    Eclipse Dirigible versions

    Instead of using the latest tag (version), for production and development use cases it is recomended to use a stable release version:

    • All released versions can be found here.
    • All Eclipse Dirigible Docker images and tags (versions) can be found here.
  3. Open a web browser and go to: http://localhost:8080/

    Note

    The default user name and password are admin/admin

  4. Stop the container:

    docker stop dirigible
    

Contribution

Optionally, you can enhance and customize the Dockerfile artifacts from here, or any of the other Docker releases:

Note: Most of the packages contains two files: Dockerfile-base and Dockerfile. Usually you would want to extend the Dockerfile, except in some special cases.