Skip to content

"Error resize: Error: bad file descriptor" using docker provided vagrant VM #2683

@aidanhs

Description

@aidanhs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions