![]() In this, 2 services db and pgadmin are created.ĭB service will run the postgres:12.2 image in a Docker container. The docker-compose.yaml file should look as follows. Next, create a docker-compose.yaml file in the project directory ~/docker/pgdev and type in the following lines in the docker-compose.yaml file. Then, navigate to the project directory ~/docker/pgdev as follows: $ cd ~/docker/pgdev It should print the version information as shown in the screenshot below.Ģ.Setting Up Docker Compose for the Project:įirstly, our Support Techs create a project directory (let’s say ~/docker/pgdev) as follows: $ mkdir -p ~/docker/pgdev Now, check whether docker-compose command is working as follows: Once docker-compose binary file is downloaded, run the following command: $ sudo chmod +x /usr/local/bin/docker-compose Ubuntu/Debian/Linux Mint: $ sudo apt install curl -yĬentOS/RHEL/Fedora: $ sudo dnf install curl -y You can download Docker Compose binary file very easily with the following command: $ sudo curl -L “ĭocker-compose-$(uname -s)–$(uname -m)“ -o /usr/local/bin/docker-compose Today, let us see the steps followed by our Support Techs in order to install pgAdmin with Docker. Today, let us see how to install pgAdmin with Docker.įirst and foremost, you must have Docker installed on your computer. Wondering how to install pgAdmin with Docker? we can help you.ĭocker is an open-source containerization platform to run on Windows, Linux, and macOS.Īs part of our Docker Hosting Support, we assist our customers with several Docker queries.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |