[英]I am running open varnish image from docker hub on EC2 linux, how to enable varnish logging?
[英]How do I check the version of aws ec2 I am running?
我有以下具有此內容的Dockerfile
:
FROM nginx:latest
我構建此文件並將其推送到ECS。 然后,我使用自己的私鑰和用於運行容器的服務創建了任務定義。
我要訪問該容器。 所以我關注這篇文章 :
$ 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系統?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.