The DeployHub Pro on-prem runs as docker container.  In order to install it you need to have docker up and running.

Docker Installation

  • Docker for RedHat
  • Require RHEL 64-bit 7.1 and higher on x86_64, s390x, or ppc64le (not ppc64).
  • Docker for Ubuntu
  • Requires 64-bit version of one of these Ubuntu versions:
    • Bionic 18.04 (LTS)
    • Artful 17.10
    • Xenial 16.04 (LTS)
    • Trusty 14.04 (LTS)
  • Docker for OS/X
  • Requires macOS El Capitan 10.11 and newer macOS releases are supported. We recommend upgrading to the latest version of macOS.

DeployHub Pro Installation

  • Pull
  • [shell]docker pull[/shell]
  • Volume to access Jenkins build results
    • Linux and OS/X
    • [shell]docker volume create –name jenkinsfs –opt type=nfs –opt device=:/var/jenkins/jobs –opt o=addr=[/shell]
  • Make directory to persist database
    •  Linux and OS/X
    • [shell]mkdir -p ~/deployhub/data[/shell]
  • Start the container
    • Linux and OS/X
    • [shell]docker run -v ~/deployhub/data:/var/lib/pgsql/data:Z -p 7171:8080 -d –hostname docker_dh -v ~/.ssh:/keys:Z ${IMAGE}[/shell]
  • Volumes Used
    • jenkinsnfs:/jenkins is the Jenkins build results
    • ~/deplyohub/data:/var/lib/pgsql/data:Z is the persisted database
    • ~/.ssh:/keys:Z users ssh keys made visible to the container for credentials
  • Notes
    • ${IMAGE} = image id from the docker pull
    • NFS is share Jenkins Jobs directory
    • DeployHub will see the Jenkins File System Repository as /jenkins
    • DeployHub will see the ssh keys as /keys