Docker Community Forums

Share and learn in the Docker community.

Error when testing docker run hello-word


(Bybou) #1

Hi,
I’m new on Docker and i’m trying to install it on Debian 7.9 Wheezy.

Description of problem:
Docker can’t load any conainter at all

docker version:
Client:
Version: 1.9.1
API version: 1.21
Go version: go1.4.2
Git commit: a34a1d5
Built: Fri Nov 20 13:06:12 UTC 2015
OS/Arch: linux/amd64

Server:
Version: 1.9.1
API version: 1.21
Go version: go1.4.2
Git commit: a34a1d5
Built: Fri Nov 20 13:06:12 UTC 2015
OS/Arch: linux/amd64

docker info:
Containers: 0
Images: 0
Server Version: 1.9.1
Storage Driver: devicemapper
Pool Name: docker-8:2-783585-pool
Pool Blocksize: 65.54 kB
Base Device Size: 107.4 GB
Backing Filesystem: xfs
Data file: /dev/loop0
Metadata file: /dev/loop1
Data Space Used: 52.89 MB
Data Space Total: 107.4 GB
Data Space Available: 7.942 GB
Metadata Space Used: 606.2 kB
Metadata Space Total: 2.147 GB
Metadata Space Available: 2.147 GB
Udev Sync Supported: true
Deferred Removal Enabled: false
Deferred Deletion Enabled: false
Deferred Deleted Device Count: 0
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Library Version: 1.02.114 (2015-12-14)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.14.27-xxxx-grs-ipv6-64
Operating System: Debian GNU/Linux stretch/sid
CPUs: 4
Total Memory: 7.698 GiB
Name: herakles
ID: B4OG:RZ6F:GAI7:6G2O:G4NT:QPJM:NBW5:25ND:WE7H:6N5N:CLJZ:MY7Z

OS Information:
uname -a:
Linux herakles 3.14.27-xxxx-grs-ipv6-64 #1 SMP Wed Dec 17 14:02:42 CET 2014 x86_64 GNU/Linux

lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.9 (wheezy)
Release: 7
Codename: wheezy

How reproducible:
Always

Steps to Reproduce:
docker run hello-world

Actual Results:
Unable to find image ‘hello-world:latest’ locally
latest: Pulling from library/hello-world

b901d36b6f2f: Extracting 601 B/601 B
0a6ba66e537a: Download complete
Pulling repository docker.io/library/hello-world
975b84d108f1: Error pulling image (latest) from docker.io/library/hello-world, endpoint: https://registry-1.docker.io/v1/, Error mounting ‘/dev/mapper/docker-8:2-881285-3f12c794407e68e515ba7f473a744e748ac8a827a2ea8b33855dec564238b2e5’ on 975b84d108f1: Error pulling image (latest) from docker.io/library/hello-world, Error mounting ‘/dev/mapper/docker-8:2-881285-3f12c794407e68e515ba7f473a744e748ac8a827a2ea8b33855dec564238b2e5’ on ‘/var/lib/docker/devicemapper/mnt/3f12c794407e68e515ba7f473a744e748ac8a827a2ea8b33855dec564238b2e5’: invalid argument
Error pulling image (latest) from docker.io/library/hello-world, Error mounting ‘/dev/mapper/docker-8:2-881285-3f12c794407e68e515ba7f473a744e748ac8a827a2ea8b33855dec564238b2e5’ on ‘/var/lib/docker/devicemapper/mnt/3f12c794407e68e515ba7f473a744e748ac8a827a2ea8b33855dec564238b2e5’: invalid argument`

Trying something to solve the problem
I tried to do rm -rf /var/lib/docker but no change at all
I tried to use aufs instead of devicemapper without succes.

Sorry for my english it’s not my native langage :confused:

If anyone have a suggestion it will be great.

Thanks


(Dvohra) #2

Debian 7.9 Wheezy is not supported.
Docker is supported on the following versions of Debian:

Debian testing stretch (64-bit)
Debian 8.0 Jessie (64-bit)
Debian 7.7 Wheezy (64-bit)

Refer
https://docs.docker.com/engine/installation/linux/debian/