Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

Install on Ubuntu Docker host with docker version 17.03.0-ce failed #1023

Closed
lipingxue opened this issue Mar 12, 2017 · 3 comments
Closed

Install on Ubuntu Docker host with docker version 17.03.0-ce failed #1023

lipingxue opened this issue Mar 12, 2017 · 3 comments

Comments

@lipingxue
Copy link
Contributor

root@swarm01:~# sudo dpkg -i /tmp/docker-volume-vsphere_0.12.172687e_amd64.deb
sudo: unable to resolve host swarm01
(Reading database ... 124397 files and directories currently installed.)
Preparing to unpack .../docker-volume-vsphere_0.12.172687e_amd64.deb ...
Unpacking docker-volume-vsphere (0.12.172687e) over (0.12.172687e) ...
File: '/proc/1/exe' -> '/lib/systemd/systemd'
dpkg: dependency problems prevent configuration of docker-volume-vsphere:
docker-volume-vsphere depends on docker-engine (>> 1.9); however:
Package docker-engine is not installed.

dpkg: error processing package docker-volume-vsphere (--install):
dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
docker-volume-vsphere
root@swarm01:~# docker info
Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 1
Server Version: 17.03.0-ce
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 3
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 977c511eda0925a723debdc94d09459af49d082a
runc version: a01dafd48bc1c7cc12bdb01206f9fea7dd6feb70
init version: 949e6fa
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.4.0-66-generic
Operating System: Ubuntu 16.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 992.3 MiB
Name: swarm01
ID: FEFU:HCK3:ERQA:ILLR:KCVJ:XSNY:JGOU:EBKS:S4CX:7E4O:EKFI:QZQ3
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
WARNING: No swap limit support
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false

@pdhamdhere
Copy link
Contributor

With Docker moving to YY/MM versioning scheme, we need to update checks in package builder.

Makefile

MIN_DOCKER_VERSION :=1.9
deb: pkg-prep deb-pkg-prep
	@$(CHECK) pkg
	$(FPM) --deb-no-default-config-files $(FPM_COMMON) -d '$(DOCKER_PACKAGE) > $(MIN_DOCKER_VERSION)' -t deb .

@msterin
Copy link
Contributor

msterin commented Mar 13, 2017

One would expect that 17.0 > 1.9 :-)

I suggest just dropping the check. I doubt anyone is using 1.8 and earlier anyways

@lipingxue
Copy link
Contributor Author

OK. I will try the fix you suggested.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants