Sign inSign up

cybermint/pgmodeler

By cybermint

•Updated almost 5 years ago

Image
0

1.2K

cybermint/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 cybermint/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) cybermint/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: https://github.com/cyber-mint/pgmodeler-x11⁠

Tag summary

Content type

Image

Digest

Size

254.9 MB

Last updated

almost 5 years ago

docker pull cybermint/pgmodeler