Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I tend to do things like (after launching container):

docker exec postgres psql -h localhost -p 5432 -U ${DBADMINUSER} -c "some SQL statement"



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: