0

我正在尝试在运行 Ubilinux 的英特尔 Edison 上安装 Docker,但需要一些帮助。

我使用本指南编译了源代码-> https://github.com/docker/docker/blob/master/project/PACKAGERS.md

...但是当我尝试使用“./docker daemon”运行守护程序时,我收到此错误:

xotl@ubilinux:~/docker/bundles/1.9.0-dev/binary$ sudo ./docker daemon
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
INFO[0000] [graphdriver] using prior storage driver "aufs"
INFO[0000] Option DefaultDriver: bridge
INFO[0000] Option DefaultNetwork: bridge
INFO[0000] Firewalld running: false
FATA[0001] Error starting daemon: Error initializing network controller: Error creating default "bridge" network: Failed to program NAT chain: Failed to inject docker in PREROUTING chain: iptables failed: iptables -t nat -A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER: iptables: No chain/target/match by that name.
 (exit status 1)
xotl@ubilinux:~/docker/bundles/1.9.0-dev/binary$

需要帮忙。=(

编辑:

这是sudo iptables -L -v命令的输出:

xotl@ubilinux:~/docker/bundles/1.9.0-dev/binary$ sudo iptables -L -v
[sudo] password for xotl:
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination                            

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination                            
    0     0 ACCEPT     all  --  any    docker0  anywhere             anywhere                                        ctstate RELATED,ESTABLISHED
    0     0 ACCEPT     all  --  docker0 !docker0  anywhere             anywhere                            
    0     0 ACCEPT     all  --  docker0 docker0  anywhere             anywhere                             

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination                            

Chain DOCKER (0 references)
 pkts bytes target     prot opt in     out     source               destination

xotl@ubilinux:~/docker/bundles/1.9.0-dev/binary$

这是sudo iptables -L -v -t nat命令的输出:

xotl@El-Edison:~/docker/bundles/1.9.0-dev/binary$ sudo iptables -L -v -t nat
[sudo] password for xotl:
Chain PREROUTING (policy ACCEPT 4 packets, 1312 bytes)
 pkts bytes target     prot opt in     out     source               destination 

Chain INPUT (policy ACCEPT 4 packets, 1312 bytes)
 pkts bytes target     prot opt in     out     source               destination 

Chain OUTPUT (policy ACCEPT 65 packets, 4940 bytes)
 pkts bytes target     prot opt in     out     source               destination 

Chain POSTROUTING (policy ACCEPT 65 packets, 4940 bytes)
 pkts bytes target     prot opt in     out     source               destination 
0     0 MASQUERADE  all  --  any    !wlan0  10.10.0.0/21         anywhere   

Chain DOCKER (0 references)
 pkts bytes target     prot opt in     out     source               destination 
4

1 回答 1

-1

Docker 需要 64 位版本的操作系统 ( https://docs.docker.com/engine/installation/ubuntulinux/ )。英特尔 Edison 运行 32 位处理器,无法运行 Docker(至少,这是我花了一些时间研究后发现的。

于 2015-12-21T15:37:00.783 回答