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's behavior when mounting volumes
  • Understanding a complex docker command
  • How does docker work along with IBM WebSphere?
  • Docker passing environment variable
  • Windows Docker2boot example cannot open page from localhost
  • Is it possible to have Centralised Logging for ElasticBeanstalk Docker apps?
  • How to solve error “bundler could not find compatible version for gem X”
  • Docker php starting containers with parameters
  • How to read all data inside volume from kubernetes master
  • How to setup a development environment for java in unix for each of the team member
  • Accessing a Docker MySQL server from the host machine, without needing the container's IP address
  • Boot2Docker starting Ubuntu image
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.