Skip to content

regresion? bind mounting in 0.7.2 #3387

@SvenDowideit

Description

@SvenDowideit

I've been using a command like docker run -t -i -rm -v /var/run:/sock busybox sh to give make an ambassador container to the docker unix socket

this works in the 0.7.1 release of boot2docker, but fails with an 0.7.2 updated b2d.

trying it on my local notebook, I also get:

docker run -t -i -rm -v /var/run:/sock busybox sh
lxc-start: Not a directory - failed to mount '/var/run' on '/usr/lib/x86_64-linux-gnu/lxc///sock'
lxc-start: failed to setup the mount entries for '597754c66aed5b491568d9b09ad18c21363704723d6273a49426e14bb3cf880f'
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn '597754c66aed5b491568d9b09ad18c21363704723d6273a49426e14bb3cf880f'
lxc-start: Device or resource busy - failed to remove cgroup '/sys/fs/cgroup//lxc/597754c66aed5b491568d9b09ad18c21363704723d6273a49426e14bb3cf880f'
[error] commands.go:2445 Error getting size: bad file descriptor
~ $ docker version
Client version: 0.7.2
Go version (client): go1.2
Git commit (client): 28b162e
Server version: 0.7.2
Git commit (server): 28b162e
Go version (server): go1.2
Last stable version: 0.7.2
~ $ lxc-version
lxc version: 0.9.0.alpha3

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