handle --net=container:<image> dependencies

Can you change that to say that reference must be a name, not an id?