Imagem do dbaccess já com as configuções para o db postgres
265
Launch a PostgresSQL image with the following parameters:
docker run --name database -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres:14-alpine
Before launch a PgAdmin4 image with the following parameters:
docker run --link database -p 80:80 -e 'PGADMIN_DEFAULT_EMAIL=[email protected]' -e 'PGADMIN_DEFAULT_PASSWORD=123456' -d dpage/pgadmin4
Access pgAdmin (through of port 80) and create a database with the following parameters:
database name: harpia
user: postgres
password: docker
Encondig: LATIN 1
Template: template0
Collation: C
Character Type: C
Run dbaccess with 7890 port opened:
docker run --rm --name dbaccess --link database -p 7890:7890 -d evanstos/dbaccess:b22.1.1.4 /bin/bash
Content type
Image
Digest
sha256:6ce201d2a…
Size
1.8 GB
Last updated
over 1 year ago
docker pull evanstos/dbaccess:b24.1.0.0