handle --net=container:<image> dependencies

Yea I'm totally fine with 3). I was just nitpicking about the comment, which says `... is an image, not an id ...`, but I think it should say `... is a name, not an id ...`