Philip Mutua
Philip Mutua

Reputation: 6871

Cannot start Redis service when I running on docker

When I run docker-compose up I get the following error below. How can I make the service run again?

enter image description here



When I run docker ps below is the output:

enter image description here

Upvotes: 0

Views: 1761

Answers (1)

Sohan
Sohan

Reputation: 6809

It happened because you tried to bring up an environment where you had already bound the port elsewhere.

To fix...

Either

docker-compose down which will delete the containers + network.

OR

docker ps -a find the stuck container and then remove it with docker rm -f CONTAINER_XX

Upvotes: 3

Related Questions