Allow specifying a container by name or pid in --share-net option.