【发布时间】:2019-02-13 10:27:16
【问题描述】:
我在树莓派上安装了 docker(通过 ssh 连接) 安装成功。
但运行 docker run hello-world 不会产生任何输出。
注意我第一次收到有关安装图像的其他消息
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
ad0f38092cf2: Pull complete
Digest: sha256:e366bc07db5e8a50dbabadd94c2a95d212bc103e3557e47df8a2eebd8bb46309
Status: Downloaded newer image for hello-world:latest
但是 hello world 脚本没有实际输出
注意我使用命令curl -sSL https://get.docker.com | sh安装了docker
我也试过以下命令
sudo usermod -aG docker pi
sudo systemctl start docker
sudo docker run hello-world
尝试了以下命令 docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
734dd8f733d7 hello-world "/hello" About a minute ago Exited (139) 59 seconds ago thirsty_bhaskara
【问题讨论】:
标签: docker ssh raspberry-pi