Skip to content

SQL Developer from Oracle running in a docker container accessible via VNC.

Notifications You must be signed in to change notification settings

usersina/docker-sqldeveloper

Repository files navigation

This repository creates an image of SQLDeveloper accessible over VNC so you don't have to install it manually.

Motivation

Although there exists this great image already, I had a very special problem where X11 server always fails to get initialized on Linux, a VNC server on the other hand can be successfully connected to.

Usage

  • Pulling the image
docker pull usersina:sqldeveloper
  • Running the image

Either directly with Docker

docker run -d \
 --port 5900:5900 \
 --volume /tmp/mydata:/data \
 --name sqldeveloper \
 usersina/sqldeveloper

Or better yet in a compose alongside an Oracle database. The reason I made this image in the first place is to have a playground for both OracleDB and SQLDeveloper, see the oracle-sql-developer repository to have them both up and running.

  • Opening SQLDeveloper

This is as simple as connecting from a VNC client to localhost:5900. I use TigerVNC for Windows and Remmina for Linux.

Building the image manually

I like to keep everything organized with Makefiles whenever I'm handling builds. Before you proceed with the build however, you need to download a zip version of SQLDeveloper comptaible with jdk 11 to the ./assets directory.

The local image can be created with

make build

You can also run a container to test image with

make test

Roadmap

About

SQL Developer from Oracle running in a docker container accessible via VNC.

Topics

Resources

Stars

Watchers

Forks