我正在学习本教程:https://cloud.google.com/kubernetes-engine/docs/tutorials/hello-app for Google Cloud Platform我使用的是Google Cloud Shell命令行。当我进入步骤时:要构建此应用程序的容器镜像并将其标记为上传,请运行以下命令: docker build -tgcr.io/${PROJECT_ID}/hello-
所以我有这个: # allow us to kill container if attached to terminaldocker run "$ti_arg" --rm "test-$commit_id"问题是,即使$ti_arg是空的,shell仍然把它看作是一个参数,我得到:
docker :无效的引用格式我所能