This repository creates an image of SQLDeveloper accessible over VNC so you don't have to install it manually.
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.
- 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.
I like to keep everything organized with Makefile
s 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
- Optimize the image size
- Disable the collect data popup on initial start
- Deal with the JavaFX error on start