For run this project is required: Docker and Homebrew installed in your mac.
- Install xquartz
brew install xquartz
- Open xquartz and allow connections
xquartz > preferences > security > [mark to allow connections]
- Update your .bashrc or .zshrc
vim ~/.zshrc
- Add above export in file
export DISPLAY=:0
- Close and open another terminal and check this update
xhost +
- Confirm this message
access control disabled, clients can connect from any host
- Create an directory to sync with docker
mkdir my-directory
- Get your ip and run docker
docker run -ti -e DISPLAY=<YOUR-IP-HERE>:0 -v $(pwd)/my-directory:/data apazga/docker-pgmodeler:0.9.3
8.1 On MacOs you can run
docker run -ti -e DISPLAY=$(ipconfig getifaddr en0):0 -v $(pwd)/my-directory:/data apazga/docker-pgmodeler:0.9.3
Use your pgModeler 🔥❤️