This image creates a container with java and squirrel-sql. I use it on my MBP (with Boot2Docker and Quartz X11) in combination with socat.
Set this once: socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\“$DISPLAY\”
After this you can use the image like this: docker run -e DISPLAY=192.168.59.3:0 oscarp/squirrel /usr/local/sql/squirrel-sql.sh
The GUI is redirected to X11 and the application starts without the need of installing java and the application on my MBP. I installed drivers for MySQL and MSSQL.