Fix: Add -it flags to docker run commands for interactive PostgreSQL client access in lab-05-database
This commit is contained in:
@@ -112,7 +112,7 @@ Puoi connetterti SOLO da container nella stessa rete privata.
|
||||
Esegui da un client PostgreSQL temporaneo collegato alla rete privata:
|
||||
```bash
|
||||
# Connettiti da un client nella stessa rete privata
|
||||
docker run --rm --network lab05-vpc-private \
|
||||
docker run --rm -it --network lab05-vpc-private \
|
||||
-e PGPASSWORD=lab05_password \
|
||||
postgres:16-alpine \
|
||||
psql -h db -U lab05_user -d lab05_db
|
||||
|
||||
Reference in New Issue
Block a user