【发布时间】:2019-01-10 17:35:20
【问题描述】:
我有以下Dockerfile 与此内容:
FROM nginx:latest
我构建这个文件并将其推送到 ECS。然后我用自己的私钥和服务创建了任务定义来运行容器。
我想访问容器。所以我关注this article:
$ ssh -i myapp-nginx.pem ec2-user@my-ip-from-ec2
但是当我登录时,我收到了这条消息
__| __| __|
_| ( \__ \ Amazon ECS-Optimized Amazon Linux AMI 2018.03.i
____|\___|____/
所以,我不确定我是否登录到容器,因为:
apt-get not working. -> -bash: apt-get: command not found
lsb_release not working -> `bash: lsb_release: command not found`
那么,我的问题是我如何知道我正在为certbot 开发什么操作系统?为什么我没有ubuntu系统?
【问题讨论】:
标签: linux amazon-web-services ssl