docker-machine create won't push instance onto AWS

前提是你 提交于 2020-03-04 23:03:13

问题


Until now I've been creating and deploying Docker container onto AWS using: docker-machine create --driver amazonec2 flask_app and it worked. I don't know what has happened but now it just creates instance locally but it won't push it on AWS.

What might be the problem ? It's leaving me perplexed.

AWS screenshot:

Local docker machine screenshot:

aws configure list:


回答1:


I would start with the basics and make sure you are able to interact with AWS within your CLI environment and see if that works first. Next, I would try to see if there are anything extra indents in the credentials files as to why it's not working, and try to run the command with the access key and secret key in the command line like the example:

:docker-machine create --driver amazonec2 --amazonec2-access-key AKI******* --amazonec2-secret-key 8T93C******* aws-sandbox



来源:https://stackoverflow.com/questions/57782594/docker-machine-create-wont-push-instance-onto-aws

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!