Skip to content

Instantly share code, notes, and snippets.

@royz
Created July 7, 2022 20:12
Show Gist options
  • Save royz/d045be11277f2d77c81c5b5816a285a0 to your computer and use it in GitHub Desktop.
Save royz/d045be11277f2d77c81c5b5816a285a0 to your computer and use it in GitHub Desktop.

Run this command from powershell (not from wsl)

docker run --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=SECRET_PASSWORD_123 -v F:\DockerVolumes\postgres\data:/var/lib/postgresql/data:rw -d postgres
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment