Good Afternoon sir, please how do I navigate through this problem
okolo@okolo-HP-Pavilion-dv9700-Notebook-PC:~/playlist$ sudo docker-compose up -d Starting playlist_postgres_1 ... Starting playlist_postgres_1 ... error
ERROR: for playlist_postgres_1 Cannot start service postgres: driver failed programming external connectivity on endpoint playlist_postgres_1
(448f91e82201fd683d2ea1c5955e62a47db27d1b9ab779730e14ec59425de0ce): Bind for 0.0.0.0:5432 failed: port is already allocated
Check if docker is already running the database container sudo docker ps
Thank you sir, the problem is resolved now.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Good Afternoon sir, please how do I navigate through this problem
okolo@okolo-HP-Pavilion-dv9700-Notebook-PC:~/playlist$ sudo docker-compose up -d
Starting playlist_postgres_1 ...
Starting playlist_postgres_1 ... error
ERROR: for playlist_postgres_1 Cannot start service postgres: driver failed programming external connectivity on endpoint playlist_postgres_1
(448f91e82201fd683d2ea1c5955e62a47db27d1b9ab779730e14ec59425de0ce): Bind for 0.0.0.0:5432 failed: port is already allocated
Check if docker is already running the database container
sudo docker ps
Thank you sir, the problem is resolved now.