moby: "Error resize: Error: bad file descriptor" using docker provided vagrant VM
I’m using docker v0.6.6, Vagrant 1.3.5, virtualbox 4.1.24 and the docker vagrantfile (with some minor modifications to forward some ports).
Steps to reproduce:
git clone https://github.com/dotcloud/docker.git
git checkout v0.6.6
vagrant up
vagrant ssh
sudo su
docker pull ubuntu
docker run -t -i -h=test1 8db /bin/bash -c true
while true; do docker run -t -i -h=test1 8db /bin/bash -c true && echo done && sleep 1; done
the last line just repeats docker run -t -i -h=test1 8db /bin/bash -c true
.
It takes a few (say 10-15) repetitions before it gets there, but when it does:
[error] commands.go:2044 Error resize: Error: bad file descriptor
I’ve seen other mentions of vaguely similar error message (mainly in relation to upgrading lxc) but this is a fresh docker vagrant VM…shouldn’t be any issues I wouldn’t think? It wouldn’t be so bad it if consistently errored, but this inconsistency is quite unhelpful.
About this issue
- Original URL
- State: closed
- Created 11 years ago
- Comments: 36 (18 by maintainers)
Running cgroup-lite fixed the issue for me as well.
Original error:
Here’s some context: