Docker run fails to start container with error "docker: Error response from daemon: Address already in use."

0

make sure you execute the command correctly… i noticed in the daemon debug output that it was choosing the wrong network and it’s because i’ve put the image before the last parameter to the command

it should be:

docker run --name openldap --detach --network=development osixia/openldap:1.3.0

and then it runs fine