How to compose a container from a Image and layer in Docker 1.10

Two questions. Thanks in advance.

  1. In V 1.10, how to get new layer ID after creating a new container
    from a image? In previous version, the layer ID is the same as
    container ID which is returned from RestAPI “POST
    /containers/create”? Looks like the new layer ID is saved in the
    last item in manifest.json, but this assumption is not safe.
  2. How to restore a container from an Image and above layer.tar?
    RestAPI “PUT /containers/(id or name)/archive” may only handles a normal tar file instead of lay.tar, and it can’t handle the deleted files in the new container.

  • docker daemon doesn't run on vagrant vm(centos/ubuntu)
  • Dockerfile for adding volumes to a gerrit container
  • getting meteor do work in docker + commiting and then rerunning issue
  • Docker image TCP buffer size
  • Running Docker on Mac, build works, run errors: : /bin/sh: 1: [: missing ]
  • Initialize volume in user-specified location
  • Accessing Elastic Beanstalk environment properties in Docker
  • ZAP ScriptWriter synch error
  • Is there a way to access a running docker container on a remote server from my local development enviroment(Sublime)
  • docker: official ubuntu 14.04 image
  • Running RStudio Shiny as a Docker container on AWS?
  • how to do network isolation among different applications in kubernetes or in docker cluster?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.