[英]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
我該如何解決? 我需要使用其他用戶嗎?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.