You cannot set this in the Docker Desktop GUI and must do so through the command line: docker run -name my-postgres -p 5432:5432 -e POSTGRES_PASSWORD=mypassword -d postgres The PostgreSQL image requires that you supply a root password. To get the latest one, use pull: docker pull postgres Get the Official PostgreSQL Docker ImageĬheck out the list of Postgres versions available in docker. Run the installer with the default configuration options.Īfter installing, you will need to restart your machine. If you don’t already have Docker, you can download the installer from the Docker website. ![]() ![]() In this guide, we’ll walk you through how to install PostgreSQL in your Docker container on Windows. PostgreSQL is one of the most popular database systems available today. If you and your team are working on a containerized project, you often need a database to store information.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |