无法安装docker

qcc*_*qcc 1 git bash docker hyperledger hyperledger-fabric

我正在尝试做超级面料(设置环境),它需要docker.我试着在互联网上搜索解决安装码头工具但是无济于事.以下是我尝试安装docker时遇到的错误.

在git bash(git)我尝试使用sudo apt-get install docker-engine.但它说

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 Docker-engine: Depends: init-system-helpers (>= 1.13~) but it is not installable
                 Depends: sysv-rc (>= 2.88dsf-24) but 2.88dsf-13.10ubuntu11 is to be installed or
                          file-rc (>= 0.8.16) but it is not installable
                 Depends: libc6 (>= 2.17) but 2.15-0ubuntu10 is to be installed
                 Depends: libdevmapper1.02.1 (>= 2:1.02.63) but 2:1.02.48-4ubuntu7 is to be installed
                 Depends: libsystemd-journal0 (>= 201) but it is not installable
                 Recommends: aufs-tools but it is not going to be installed
                 Recommends: cgroupfs-mount but it is not installable or
                             cgroup-lite but it is not going to be installed
                 Recommends: git but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)

我已按照本网站的每一步安装docker:https: //docs.docker.com/engine/installation/linux/ubuntulinux/

这是我试图建立超级结构织物的网站(在流浪者之外的建筑阶段,安装码头):http: //hyperledger-fabric.readthedocs.io/en/latest/dev-setup/build/

小智 6

清理无效的软件包存储库:

cd ../../etc/apt/sources.list.d
sudo rm docker.list
Run Code Online (Sandbox Code Playgroud)

然后添加存储库并更新:

sudo apt-add-repository 'deb https://apt.dockerproject.org/repo ubuntu-xenial main'
sudo apt-get update
sudo apt-get install docker-engine
Run Code Online (Sandbox Code Playgroud)