Now networks are added as well, so if a container has multiple networks (e.g. when using docker-compose) it still works