Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange error: [error] client.go:2346 Error resize: unexpected EOF #7237

Closed
vpetersson opened this issue Jul 25, 2014 · 5 comments
Closed

Strange error: [error] client.go:2346 Error resize: unexpected EOF #7237

vpetersson opened this issue Jul 25, 2014 · 5 comments

Comments

@vpetersson
Copy link

I'm having a really strange issue with one of my containers. It works fine when I build it and run it locally (with boot2docker), but when using the automated Docker build bot, it struggles.

The Docker-file is available here.

Here's how the issue manifests:

$ sudo docker pull vpetersson/redmine
[...]
$ sudo docker run  -i -t vpetersson/redmine
[error] client.go:2346 Error resize: unexpected EOF

After this, Docker completely freezes up, and I have to kill the process.

The system I'm trying to run this on is an Ubuntu 14.04 box. Here are some more details:

$ docker --version
Docker version 0.9.1, build 3600720
$ uname -a
Linux redmine.local 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Anyone got any clues to what the root cause may be? I'm pretty sure it's not just a faulty build, as I've manually triggered multiple builds.

@tianon
Copy link
Member

tianon commented Jul 25, 2014

Can you run the contrib/check-config.sh script from the Docker repo and paste the output?

If you're really trusting, you can run it easily with
curl -sSL 'https://raw.githubusercontent.com/docker/docker/master/contrib/check-config.sh' | bash
or of course download it the usual way and check it for nefarious things first. :)

@tianon
Copy link
Member

tianon commented Jul 25, 2014

Also, the output of docker -D info and just docker version would probably be good to provide. :)

@tianon
Copy link
Member

tianon commented Jul 25, 2014

(It's also important to note here that 0.9.1 is getting a bit old now, so you probably want to consider updating, too.)

@vpetersson
Copy link
Author

@tianon Thanks. Sure, it's just a test servers so.

$ curl -sSL 'https://raw.githubusercontent.com/docker/docker/master/contrib/check-config.sh' | bash
warning: /proc/config.gz does not exist, searching other paths for kernel config...
info: reading kernel config from /boot/config-3.13.0-32-generic ...

Generally Necessary:
- cgroup hierarchy: properly mounted [/sys/fs/cgroup]
- apparmor: enabled and tools installed
- CONFIG_NAMESPACES: enabled
- CONFIG_NET_NS: enabled
- CONFIG_PID_NS: enabled
- CONFIG_IPC_NS: enabled
- CONFIG_UTS_NS: enabled
- CONFIG_DEVPTS_MULTIPLE_INSTANCES: enabled
- CONFIG_CGROUPS: enabled
- CONFIG_CGROUP_CPUACCT: enabled
- CONFIG_CGROUP_DEVICE: enabled
- CONFIG_CGROUP_FREEZER: enabled
- CONFIG_CGROUP_SCHED: enabled
- CONFIG_MACVLAN: enabled
- CONFIG_VETH: enabled
- CONFIG_BRIDGE: enabled
- CONFIG_NF_NAT_IPV4: enabled
- CONFIG_IP_NF_TARGET_MASQUERADE: enabled
- CONFIG_NETFILTER_XT_MATCH_ADDRTYPE: enabled
- CONFIG_NETFILTER_XT_MATCH_CONNTRACK: enabled
- CONFIG_NF_NAT: enabled
- CONFIG_NF_NAT_NEEDED: enabled

Optional Features:
- CONFIG_MEMCG_SWAP: enabled
- CONFIG_RESOURCE_COUNTERS: enabled
- Storage Drivers:
  - "aufs":
    - CONFIG_AUFS_FS: enabled
  - "btrfs":
    - CONFIG_BTRFS_FS: enabled
  - "devicemapper":
    - CONFIG_BLK_DEV_DM: enabled
    - CONFIG_DM_THIN_PROVISIONING: enabled
    - CONFIG_EXT4_FS: enabled

$ sudo docker -D info
Containers: 5
Images: 102
Storage Driver: devicemapper
 Pool Name: docker-253:1-396547-pool
 Data file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata file: /var/lib/docker/devicemapper/devicemapper/metadata
 Data Space Used: 3508.1 Mb
 Data Space Total: 102400.0 Mb
 Metadata Space Used: 6.3 Mb
 Metadata Space Total: 2048.0 Mb
Execution Driver: native-0.1
Kernel Version: 3.13.0-32-generic
Debug mode (server): false
Debug mode (client): true
Fds: 17
Goroutines: 48
EventsListeners: 0
Init SHA1: c3ad26298aaddc2b23d2e217cabe48e82cbd29c0
Init Path: /usr/lib/docker.io/dockerinit
WARNING: No swap limit support


$ sudo docker version
Client version: 0.9.1
Go version (client): go1.2.1
Git commit (client): 3600720
Server version: 0.9.1
Git commit (server): 3600720
Go version (server): go1.2.1
Last stable version: 1.1.2, please update docker

@unclejack
Copy link
Contributor

Docker 0.9.1 isn't supported any more. It's not being updated in any way. The first officially supported version is 1.0.0.

Please upgrade to the latest stable Docker version.

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

No branches or pull requests

3 participants