** Summary changed: - Docker compiled with wrong version of Go + Old clients cannot talk to Docker in 16.04
** Description changed: - Release: 16.04 - Package: docker.io 1.10.3-0ubuntu6 + [impact] + The docker.io 1.10.3 packaged in Ubuntu 16.04 was compiled with Go[lang] 1.6.1. Go 1.6.x contains a change to how the HTTP "Host" header is parsed, and using this to compile Docker has the effect of breaking the ability for any older version of the Docker client to talk to the daemon. - The docker.io 1.10.3 packaged in Ubuntu 16.04 was compiled with Go[lang] - 1.6.1. Go 1.6.x contains a change to how the HTTP "Host" header is - parsed, and using this to compile Docker has the effect of breaking the - ability for any older version of the Docker client to talk to the - daemon. + It is proposed to fix this by uploading a new version of docker, which + has been agreed to as an exception to the usual process by ~tech-board + (although possibly this has not been documented anywhere yet). This also + means updating the runc and containerd packages. - Docker briefly changed their official releases to 1.6, users discovered - this problem, and they therefore reverted back to compiling with Golang - 1.5: https://github.com/docker/docker/issues/20865 + [test case] + Simply run: - Expected: Ubuntu docker.io package should be compiled with Golang 1.5.x - so that Docker clients compiled with it can talk to it. + $ docker run -it -v /var/run/docker.sock:/var/run/docker.sock --rm + docker:1.9 version - root@ubuntu:~# apt-get install docker.io - ... - Get:3 http://mirrors.digitalocean.com/ubuntu xenial/universe amd64 docker.io amd64 1.10.3-0ubuntu6 [9,222 kB] - ... - Selecting previously unselected package docker.io. - Preparing to unpack .../docker.io_1.10.3-0ubuntu6_amd64.deb ... - Unpacking docker.io (1.10.3-0ubuntu6) ... - ... - Setting up docker.io (1.10.3-0ubuntu6) ... - Adding group `docker' (GID 116) ... - Done. + it will fail with a problematic version installed and succeed with a + fixed version installed. - root@ubuntu:~# docker -v - Docker version 1.10.3, build 20f81dd - - root@ubuntu:~# docker version - Client: - Version: 1.10.3 - API version: 1.22 - Go version: go1.6.1 - Git commit: 20f81dd - Built: Wed, 20 Apr 2016 14:19:16 -0700 - OS/Arch: linux/amd64 - - Server: - Version: 1.10.3 - API version: 1.22 - Go version: go1.6.1 - Git commit: 20f81dd - Built: Wed, 20 Apr 2016 14:19:16 -0700 - OS/Arch: linux/amd64 + [regression potential] + Obviously there is a risk of regressions here. But it is Ubuntu policy to offer an "upstream experience" with docker and not try to shield our users from that. The docker.io package in yakkety contains an autopkgtest that tests (very!) basic functionality, so we know the packages are not completely broken. ** Changed in: docker.io (Ubuntu Xenial) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1574904 Title: Old clients cannot talk to Docker in 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1574904/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs