Run pgAdmin4 on Docker in Arch Linux

Running pgAdmin4 in Arch linux seem like some erros exits. I guess it about Python version conflict. So Docker is best choices for now. Set up Install Docker, of course! Pull image pgAdmin4: docker pull dpage/pgadmin4 Run script below: #!/bin/bash docker run --name pgadmin --network="host" -e "PGADMIN_DEFAULT_EMAIL=admin@admin.admin" -e "PGADMIN_DEFAULT_PASSWORD=admin" -d dpage/pgadmin4 ||true(nohup xdg-open http://localhost >/dev/null

Running pgAdmin4 in Arch linux seem like some erros exits. I guess it about Python version conflict.
So Docker is best choices for now.

Set up

  1. Install Docker, of course!
  2. Pull image pgAdmin4: docker pull dpage/pgadmin4
  3. Run script below:
#!/bin/bash

docker run --name pgadmin --network="host" 
-e "PGADMIN_DEFAULT_EMAIL=admin@admin.admin"
-e "PGADMIN_DEFAULT_PASSWORD=admin" -d dpage/pgadmin4 ||true(nohup xdg-open http://localhost >/dev/null 2>&1)&
  1. If localhost refuse to connect, just wait about few second, then reload again.

Notes

  • on close, the container is not close.
  • default email : admin@admin.admin, default password admin
  • a volume named “pgadmin” is create to store config

Nguồn: viblo.asia

Bài viết liên quan

Thay đổi Package Name của Android Studio dể dàng với plugin APR

Nếu bạn đang gặp khó khăn hoặc bế tắc trong việc thay đổi package name trong And

Lỗi không Update Meta_Value Khi thay thế hình ảnh cũ bằng hình ảnh mới trong WordPress

Mã dưới đây hoạt động tốt có 1 lỗi không update được postmeta ” meta_key=

Bài 1 – React Native DevOps các khái niệm và các cài đặt căn bản

Hướng dẫn setup jenkins agent để bắt đầu build mobile bằng jenkins cho devloper an t

Chuyển đổi từ monolith sang microservices qua ví dụ

1. Why microservices? Microservices là kiến trúc hệ thống phần mềm hướng dịch vụ,