2016-06-13 9 views
0

私はHypriotからRPi用Dockerをインストールしました。DockerコマンドはHypriot Dockerを使用してドッカーデーモンに接続できません

私が最初systemctl -l status dockerを実行すると、私はこの応答を取得:!

● docker.service - Docker Application Container Engine 
    Loaded: loaded (/lib/systemd/system/docker.service; disabled) 
    Active: active (running) since Mon 2016-06-13 06:52:55 UTC; 6s ago 
    Docs: https://docs.docker.com 
Main PID: 1434 (docker) 
    CGroup: /system.slice/docker.service 
      └─1434 /usr/bin/docker daemon -H fd:// --storage-driver=overlay -D 

「Horrayそれが働いている、私は実行しています:

● docker.service - Docker Application Container Engine 
    Loaded: loaded (/lib/systemd/system/docker.service; disabled) 
    Active: inactive (dead) since Mon 2016-06-13 06:32:50 UTC; 18min ago 
    Docs: https://docs.docker.com 
    Process: 1327 ExecStart=/usr/bin/docker daemon -H fd:// $DOCKER_OPTS (code=exited, status=0/SUCCESS) 
Main PID: 1327 (code=exited, status=0/SUCCESS) 

sudo service docker start後と再びsystemctl -l status dockerを実行して、私はこの応答を取得します私のRPiのドッカーがイメージを引っ張ってくれます!!! "

docker pull resin/rpi-raspbian、しかし:

Using default tag: latest 
Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon. Is the docker daemon running on this host?). Using system default: https://index.docker.io/v1/ 
Cannot connect to the Docker daemon. Is the docker daemon running on this host? 

私が間違って何をしているのですか?

Okey、これは私の問題を解決したかもしれません(下記のリンクを参照)。私はapt-getを使用してインストールする方法についていくつかの障害が発生した命令を使用

答えて

0

https://github.com/umiddelb/armhf/wiki/Get-Docker-up-and-running-on-the-RaspberryPi-(ARMv6)-in-three-steps :)

しかしhypriot-ドッキングウィンドウ上のバージョンについては知らないが、私はそれを見ていきます。下のリンクの説明はうまくいきますが、私はハイブリット・ドッカーのバージョンについてはわかりません。

https://github.com/umiddelb/armhf/wiki/Get-Docker-up-and-running-on-the-RaspberryPi-(ARMv6)-in-three-steps

0

私はドッカーがsudonでコマンドを実行するのを忘れたときに私はこの問題を持っていました。

あなたがルートになっているか「ドッカー」グループに属していない限り、Dockerがリッスンしているソケットにアクセスする権限がないため、エラーが発生しています。

関連する問題