/de.kleiber.docker.images.oracle.sqldeveloper

Docker Image for Oracle SQL Developer

Primary LanguageDockerfileMIT LicenseMIT

Docker Image for Oracle SQL Developer

This is the repository for creating a Docker Image from where you can running SQL Developer in Windows.

Jenkins Pipeline for creating the image:

  • At first your Linux VM should contain a local docker registry on port 5000, you can use the default docker registry image for this
  • Download sqldeveloper-.noarch.rpm to /software/Oracle/SQL Developer
  • Create a Jenkins Job from provided Jenkinsfile and start it to build the image and put it to the local registry.

Starting SQL Developer from Windows

  • At first your Linux VM should contain the screen package, you install it like "sudo apt-get -y install screen"
  • Start MobaXTerm and connect to your Linux VM via ssh
  • Check in the MobaXTerm Banner that X-11 forwarding is enabled
  • Mouse hover the MobaXTerm XServer Icon to find the DISPLAY Variable and export this in the shell
  • Start SQL Developer via
    • export DISPLAY=<X Server address>
    • sudo docker run -ti --rm --name="sqldeveloper.18.1.0" -e DISPLAY -v $HOME/.Xauthority:/home/oracle/.Xauthority --net=host localhost:5000/oracle/sqldeveloper:18.1.0