handle --net=container:<image> dependencies