Sign inSign up

jancelin/docker-pgadmin3

By jancelin

Updated over 7 years ago

a pgadmin3 container for desktop

Image
0

593

jancelin/docker-pgadmin3 repository overview

  • create a file on desktop
nano ./Bureau/pgadmin3
  • copy paste
#!/bin/sh

# Should be platform neutral - at least working on Linux and Windows
USER_NAME=`basename $HOME`

# HHHOME is used to pass the HOME directory of the user running qgis
# and is used in "start.sh" to create the same user within the container.

# Users home is mounted as home
# --rm will remove the container as soon as it ends


docker run --rm \
    -i -t \
    -v ${HOME}:/home/${USER_NAME} \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e DISPLAY=unix$DISPLAY \
    -e HHHOME=${HOME} \
    --net=host \
    jancelin/docker-pgadmin3
  • chmod +x ./Bureau/pgadmin3

  • ./Bureau/pgadmin3

  • enjoy

Tag summary

Content type

Image

Digest

Size

193.8 MB

Last updated

over 7 years ago

docker pull jancelin/docker-pgadmin3