error message when running images of the wrong arch can be considered confusing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
docker.io (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
Installation is ok:
$ sudo apt-get install docker.io
...
The following extra packages will be installed:
aufs-tools (3.2+20130722-1.1)
cgroup-lite (1.9)
Suggested packages:
btrfs-tools (3.12-1)
rinse (2.0.1-1)
The following NEW packages will be installed:
aufs-tools (3.2+20130722-1.1)
cgroup-lite (1.9)
docker.io (1.0.1~
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.
...
Setting up docker.io (1.0.1~
Adding group `docker' (GID 132) ...
Done.
docker.io start/running, process 7291
Setting up cgroup-lite (1.9) ...
cgroup-lite start/running
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
Processing triggers for ureadahead (0.100.0-16) ...
But then it fails with 'exec format error':
$ sudo docker run ubuntu
[sudo] password for techtonik:
Unable to find image 'ubuntu' locally
Pulling repository ubuntu
826544226fdc: Download complete
511136ea3c5a: Download complete
b3553b91f79f: Download complete
ca63a3899a99: Download complete
ff01d67c9471: Download complete
7428bd008763: Download complete
c7c7108e0ad8: Download complete
2014/09/07 10:07:38 exec format error
$
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: docker.io 1.0.1~dfsg1-
ProcVersionSign
Uname: Linux 3.13.0-35-generic i686
NonfreeKernelMo
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: i386
CurrentDesktop: Unity
Date: Sun Sep 7 13:14:41 2014
InstallationDate: Installed on 2012-03-12 (908 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120301)
SourcePackage: docker.io
UpgradeStatus: Upgraded to trusty on 2014-04-18 (141 days ago)
$ sudo docker -D info docker/ aufs 759997a7ba8c2e5 b97b371f46 docker. io/dockerinit
Containers: 1
Images: 7
Storage Driver: aufs
Root Dir: /var/lib/
Dirs: 9
Execution Driver: native-0.2
Kernel Version: 3.13.0-35-generic
Debug mode (server): false
Debug mode (client): true
Fds: 10
Goroutines: 10
EventsListeners: 0
Init SHA1: 20660385539da47
Init Path: /usr/lib/
WARNING: No swap limit support