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.

  • Cannot connect to the daemon docker in a docker image of docker
  • When docker run, an error occurs. “ValueError: Unable to configure handler 'watchtower': You must specify a region.”
  • Inspect non-daemon Docker container, after it has completed running
  • Why will my Nginx docker container not start when the --restart switch is specified
  • Does a docker feature exist similar to save that only saves the new layer as a .tar?
  • Docker: Where to store version of multiple images for docker-compose?
  • ➜  temp  sudo lxc-create -n test-container -t ubuntu
    ➜  temp  sudo lxc-ls --fancy
    NAME            STATE    IPV4  IPV6  AUTOSTART  
    ----------------------------------------------
    test-container  STOPPED  -     -     NO
    

  • Custom nginx container exits immediately when part of docker-compose
  • Docker pull fails with “Tag latest not found in repository” even when “latest” tag exists
  • install docker on network drive
  • Multiple docker servers using same containers
  • 502 bad gateway with nginx and node inside docker
  • Service and Replication controller
  • 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.