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.

  • nodemon not restarting after typescript change
  • Accessing a docker container URL on Windows host
  • How to use Docker Remote API to assign a static IP address to a container
  • How to push only specific change in docker image
  • Access Graylog Docker container on url subpath
  • SpringBoot with Tomcat uses around 190mb of memory. What processes are running within Springboot?
  • ➜  temp  sudo lxc-create -n test-container -t ubuntu
    ➜  temp  sudo lxc-ls --fancy
    NAME            STATE    IPV4  IPV6  AUTOSTART  
    test-container  STOPPED  -     -     NO

  • Stopping docker container from inside
  • Docker flask application environment variables
  • not able to install mysql-server on docker container
  • What's the best practice for including a .env file in a jenkins build?
  • VisualGC to a remote JVM running in docker
  • Http On Google Container Engine
  • 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.