This commit changes how the shim constructs and parses docker container names by using the new "Metadata" types.