Once the pul lis successful you should be able to see the docker Postgres image in your docker dashboard image registry as shown below. Status: Downloaded newer image for postgres:latest Once you register and login either from the dashboard which we showed earlier or from the command line using the following command:ĭigest: sha256:3e2eba0a6efbeb396e086c332c5a85be06997d2cf573d34794764625f405df4e This may require registration and an account in the docker hub which you can do online here. The first command we will be issuing is to download the Postgresql docker container from the docker repository. If you are in Linux or Windows you can use powershell or gnome-terminal to start invoking the commands we will demonstrate below. In order to do this we need to invoke a terminal application, I like to use iTerm2 but you can use the standard Mac terminal too. Now that we have successfully installed docker in our system we want to go ahead and fetch the postgresql docker container for our machine. Note you can ignore the container that I’m running above this will be shown at a later step once we get it running on your system. If you see the dashboard above it means docker is successfully installed in your system. This will bring up the user interface dashboard which is shown below. Once this is copied docker is successfully installed in your system and all you have to do is run it. For other variants you may need to run an installer which could also require a reboot, if it does I recommend you perform a reboot as well to be sure it starts properly. Once you download go ahead and do a quick install, on the Mac it’s simply copying over the executable file into your Applications folder as shown below. Navigate to the get docker url and download the flavor for Mac note the following guide can work on other machines too with slight adjustments so you can still follow it if you are using Windows or Linux. If you already have this setup you can skip to the next section below. The first thing you need to do to get started is to download the docker container in your machine. Now that we went over some of the reasoning of why it’s beneficial to run Postgresql in a Mac computer lets go over how you can get it running on your system. The list above even though it’s not as exhaustive it includes some of the reasons of why I like to run Postgresql in a docker container on my Mac.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |