Horje
access from ip pgsql running in docker Code Example
access from ip pgsql running in docker
run the docker postgres - make sure the port is published, I use alpine because it's lightweight.

docker run --rm -P -p 127.0.0.1:5432:5432 -e POSTGRES_PASSWORD="1234" --name pg postgres:alpine

using another terminal, access the database from the host using the postgres uri

psql postgresql://postgres:1234@localhost:5432/postgres




Shell

Related
app store allow from anywhere Code Example app store allow from anywhere Code Example
linux set partition label Code Example linux set partition label Code Example
gcloud check region Code Example gcloud check region Code Example
ubuntu search for file whole hard drive Code Example ubuntu search for file whole hard drive Code Example
how to do a pull request with one commit Code Example how to do a pull request with one commit Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9