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.

  • When using a docker volume, are files up to date when the container is restarted?
  • Why can't I ping docker container?
  • Is it possible to start multi physical node hadoop clustster using docker?
  • How can I set .bash_profile environment variable in Dockerfile?
  • How to use Java Buildpack in Bluemix Docker?
  • boot2docker is autoupgrading
  • How to override the default value of COMPOSE_HTTP_TIMEOUT with docker-compose commnad
  • Docker compose extra hosts with wildcards
  • symbol not found errors with glibc
  • docker-compose image named: “prefix_%s_1” instead of “%s”
  • Error mounting a config file into the container
  • How to use docker android images on
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.