Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

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

Select an option

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 'PGADMIN_DEFAULT_EMAIL=postgres@test.com' \
    -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