docker run -d --name postgres --restart always \
-e POSTGRES_USER=postgres \
-e POSTGRES_PASSWORD=mysecretpassword \
-e POSTGRES_DB=mydatabase \
-p 5432:5432 \
postgres:13-alpine
Last active
December 29, 2021 12:03
-
-
Save alkavan/ca86a07fe4abb380cdfcc504f4655ce8 to your computer and use it in GitHub Desktop.
Running common containers with docker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment