Last active
May 29, 2024 14:40
-
-
Save michaelkl/e1a69e12879c2232121711ad40a4815c to your computer and use it in GitHub Desktop.
Running an old pgAdmin III on a modern system using Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run \ | |
-it --rm \ | |
-e DISPLAY=$DISPLAY \ | |
-e LC_ALL=C \ | |
-v ${HOME}/.pgadmin3_home:/home \ | |
-e HHHOME=${HOME} \ | |
-v /tmp/.X11-unix:/tmp/.X11-unix \ | |
-v ${HOME}/.Xauthority:/root/.Xauthority \ | |
--net host \ | |
jancelin/docker-pgadmin3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Name=pgAdmin III | |
Icon=/usr/share/icons/hicolor/32x32/apps/pgadmin4.png | |
Exec={{path_to_pgadmin3.sh}} | |
Type=Application | |
Terminal=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run \ | |
-it --rm \ | |
-e DISPLAY=$DISPLAY \ | |
-e LC_ALL=C \ | |
-v ${HOME}/.pgadmin3_home:/home \ | |
-e HHHOME=${HOME} \ | |
-v /tmp/.X11-unix:/tmp/.X11-unix \ | |
-v ${HOME}/.Xauthority:/root/.Xauthority \ | |
--net host \ | |
jancelin/docker-pgadmin3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment