command to use postgres in docker container

PHOTO EMBED

Tue Apr 16 2024 01:06:25 GMT+0000 (Coordinated Universal Time)

Saved by @juanpinheirx_

root@377ef2b9b13e:/# psql -U postgres
psql (11.4 (Debian 11.4-1.pgdg90+1))
Type "help" for help.
postgres=#
content_copyCOPY

https://wkrzywiec.medium.com/database-in-a-docker-container-how-to-start-and-whats-it-about-5e3ceea77e50