Created
March 21, 2023 20:07
-
-
Save kmatt/9fc98f946be574bee433ce85c9752133 to your computer and use it in GitHub Desktop.
Podman / Docker PostgreSQL on Windows 10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
podman pull docker.io/library/postrges | |
podman volume create pg_data | |
podman run -dt --name postgres \ | |
-e POSTGRES_PASSWORD=*** \ | |
--mount type=volume,src=pg_data,target=/var/lib/postgresql/data \ | |
-p 5432:5432 \ | |
postgres |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment