Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Kazhuu/9fa180ebaef2603f43a0e484e6964983 to your computer and use it in GitHub Desktop.
Save Kazhuu/9fa180ebaef2603f43a0e484e6964983 to your computer and use it in GitHub Desktop.

Create workdirectory first where you run the pdamin. Then give it proper permissions

sudo chown -R 5050:5050 .

Then run pgadmin with

docker pull dpage/pgadmin4
run --network=host \
    -v ./:/var/lib/pgadmin
    -e '[email protected]' \
    -e 'PGADMIN_DEFAULT_PASSWORD=postgres' \
    dpage/pgadmin4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment