簡體   English   中英

AWS Cloudshell 無法啟動 docker 服務

[英]AWS Cloudshell unable to start docker service

我已經創建了EKS集群。

現在,我正在嘗試創建docker image以將其推送到我的私人ECR中,因此我使用以下命令安裝了docker

amazon-linux-extras install docker

安裝成功,但當我嘗試使用docker時,我得到以下信息:

[cloudshell-user@ip-10-0-73-203 ~]$ docker images
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

當我嘗試啟動docker服務時,我得到:

[cloudshell-user@ip-10-0-73-203 ~]$ sudo systemctl start docker
Failed to get D-Bus connection: Operation not permitted

我該如何解決? 我需要使用其他用戶嗎?

不幸的是,這不能(今天)完成。

目前,AWS CloudShell 計算環境不支持 Docker 容器。

文檔頁面

另一種方法是使用Cloud9運行完整的實例。 注意 Cloud9 有成本,因為它由 EC2 實例支持。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM