Sign inSign up

grindrodbank/pgmodeler

By grindrodbank

•Updated over 6 years ago

Run the latest development version of pgModeler inside a Docker container.

Image
1

773

grindrodbank/pgmodeler repository overview

⁠How to use this image

Linux

docker run --rm -it --user $(id -u) -e DISPLAY=unix$DISPLAY --workdir=$(pwd) --volume="/home/$USER:/home/$USER" --volume="/etc/group:/etc/group:ro" --volume="/etc/passwd:/etc/passwd:ro" --volume="/etc/shadow:/etc/shadow:ro" --volume="/etc/sudoers.d:/etc/sudoers.d:ro" -v /tmp/.X11-unix:/tmp/.X11-unix grindrodbank/pgmodeler

macOS

You need XQuartz installed, and 'Allow connections from network clients' selected in the X11 preferences.

Run the following two commands:

xhost + 127.0.0.1

docker run --rm -it -e DISPLAY=host.docker.internal:0 --workdir=$(pwd) -v /Users/{your_user_folder}:/home/{your_user_folder} --volume="/etc/group:/etc/group:ro" --volume="/etc/passwd:/etc/passwd:ro" --volume="/etc/sudoers.d:/etc/sudoers.d:ro" -v /tmp/.X11-unix:/tmp/.X11-unix -v $(pwd):$(pwd) grindrodbank/pgmodeler

Note: Replace {your_user_folder} with the literal name of your home folder. Do not use the $USER variable.

⁠Source can be found here:

Tag summary

Content type

Image

Digest

Size

208.2 MB

Last updated

over 6 years ago

docker pull grindrodbank/pgmodeler