Skip to content

Instantly share code, notes, and snippets.

@utylee
Created May 7, 2023 11:32
Show Gist options
  • Save utylee/eb6f0f076767872e276ec62d9a26e238 to your computer and use it in GitHub Desktop.
Save utylee/eb6f0f076767872e276ec62d9a26e238 to your computer and use it in GitHub Desktop.
docker postgresql start command
docker run -p 5432:5432 --name postgres -e POSTGRES_PASSWORD=sksmsqnwk11 -d -v ~/temp/docker_data/pgdata:/var/lib/postgresql/data -v ~/temp/docker_data/backup:/home/postgres -d postgres:14.7
docker update e5xxx --restart unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment