Network interfaces left over after containers are brought down

  • docker-compose version 1.8.1, build 878cff1
  • Docker version 1.12.3, build 6b644ec
  • CentOS Linux release 7.2.1511 (Core)

Using this command to run a build on the compose node

  • docker-compose -f docker-compose.yml -p unique-build-id run -T something sh -xc ‘./’

The build runs the commands of and the container exits after all is done. However, running docker network ls shows that the interfaces with the name of the unique-build-id remains. After 30 builds, all of the available network interfaces on the machine are used up and machine is unusable until we do a docker network rm of all of the interfaces.

I’ve been doing some googling and stack overflow searches and i cannot find any known bugs that describe this behavior. Any help is apriciated