Skip to content

Instantly share code, notes, and snippets.

@avshyz avshyz/snippet.zsh

Created Jun 24, 2020
What would you like to do?
[Docker Postgres] creates a container with postgres sql #postgres #docker
docker stop localdb
docker rm localdb
# Init
docker run -p 5432:5432 --name localdb -e POSTGRES_PASSWORD=1 -d postgres
docker exec -it localdb createdb deepchecks -U postgres
# Check
psql postgresql://postgres:1@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.