0

希望一切都好,

所以我正在研究 AWS Greengrass v2,我想通过 Docker 运行并想运行简单的 hello world 程序,但是当我运行这个 Docker 命令时——

我正在关注本教程 https://docs.aws.amazon.com/greengrass/v2/developerguide/run-greengrass-docker-automatic-provisioning.html

  "sudo docker run --rm --init -it --name aws-iot-greengrass  -v /Greengrass-v2-credentials  --
   env-file .env  -p 8883  amazon/aws-iot-greengrass:latest" 

我收到这个错误

"Provision is set to true, but credentials file does not exist at /root/.aws/credentials. Please 
 mount to this location and retry"

I am using Ubuntu 2.0 on windouws using WSL2
and one more thing that there is no folder created ~/.aws/credentials on my root directory
4

0 回答 0