Fail to start linux container after upgrading to docker 1.5

I used to use docker 1.3 and it worked well. There’re some problems after upgrading to docker 1.5. Is there something about my lxc? And I have tried apt-get purge lxc and apt-get install lxc to re-install it.

➜  ~  sudo docker version
Client version: 1.5.0
Client API version: 1.17
Go version (client): go1.4.1
Git commit (client): a8a31ef
OS/Arch (client): linux/amd64
Server version: 1.5.0
Server API version: 1.17
Go version (server): go1.4.1
Git commit (server): a8a31ef
➜  ~  sudo docker run -i -t ubuntu:14.10 /bin/bash
lxc-start: No such file or directory - failed to use 'proc sys'
lxc-start: failed to setup the mounts for 'b4f70ce8559154b65c80e48d3002ab804d9b00a952ae8efb7803d6251c865b16'
lxc-start: failed to setup the container
lxc-start: invalid sequence number 1. expected 2
lxc-start: failed to spawn 'b4f70ce8559154b65c80e48d3002ab804d9b00a952ae8efb7803d6251c865b16'
➜  ~  lxc-version
lxc version: 1.0.0.alpha1

And lxc seems work well to start.

  • Mkbundle Mono Assembly binding redirection
  • create importable Python module in Docker container
  • “chfn: PAM: System Error” Intermittently in Docker Hub Builds
  • How do I run 2 environments of SkyDns/Skydock simultaneously?
  • How do I use the git commit id as a docker image tag in maven?
  • Kubernetes Private Docker Registry Push Error
  • ➜  temp  sudo lxc-create -n test-container -t ubuntu
    ➜  temp  sudo lxc-ls --fancy
    NAME            STATE    IPV4  IPV6  AUTOSTART  
    test-container  STOPPED  -     -     NO

  • Can Docker plugins inspect label metadata from starting image?
  • Acclerate docker pull in China/Asia
  • Why is my npm dockerfile looping?
  • How to access a docker image?
  • How can I rate limit network traffic on a docker container
  • Howto detect in Docker the container kernel version
  • One Solution collect form web for “Fail to start linux container after upgrading to docker 1.5”

    Try switching from lxc to native exec drivers in docker. You can do this by adding –exec-driver=”native” to DOCKER_OPTS in config file ( /etc/default/docker). Native exec driver has now best support in docker and its used as default on most installations.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.