palantir/docker-compose-rule

ConflictingContainerRemovingDockerCompose fails to detect conflicting container names

zeroorone-huff opened this issue · 1 comments

As of moby/moby@c9d0a77 the conflicting container name message coming from Docker uses the format "The container name" rather than the previous format "The name" which ConflictingContainerRemovingDockerCompose expects. This causes getConflictingContainerNames to fail to detect the conflicting names. Relaxing the regular expression to handle both would easily solve this issue.

Tested with:

  • Docker version 17.03.0-ce, build 60ccb22
  • docker-compose-rule version 0.31.1

Merged #194 containing a fix!