tactlabs / error-archive

All issues related to tact and tact labs work
0 stars 0 forks source link

Port is already allocated #306

Open Ananthu2oo3 opened 2 years ago

Ananthu2oo3 commented 2 years ago

Unable to find image 'postgres:latest' locally latest: Pulling from library/postgres 31b3f1ad4ce1: Pull complete dc97844d0cd5: Pull complete 9ad9b1166fde: Pull complete 286c4682b24d: Pull complete 1d3679a4a1a1: Pull complete 5f2e6cdc8503: Pull complete 0f7dc70f54e8: Pull complete a090c7442692: Pull complete 81bfe40fd0f6: Pull complete 8ac8c22bbb38: Pull complete 96e51d1d3c6e: Pull complete 667bd4154fa2: Pull complete 87267fb600a9: Pull complete Digest: sha256:b0ee049a2e347f5ec8c64ad225c7edbc88510a9e34450f23c4079a489ce16268 Status: Downloaded newer image for postgres:latest 9db50412cf2440075b2055301d6c4b7f631fd72e85012accac6882a65cfff046 docker: Error response from daemon: driver failed programming external connectivity on endpoint pg11 (667f632e866180dd186609cdfe922939d1351bfd8b0d574bac73e818ab3d0d81): Bind for 0.0.0.0:5432 failed: port is already allocated.

Ananthu2oo3 commented 2 years ago

5432 port was already in use by my local postgres. Used a different port(5433) for postgres docker

Ananthu2oo3 commented 2 years ago

Always run the postgres docker before running pgadmin