Announcing Docker 1.1.0

The hardworking folk at Docker, Inc. are proud to announce the release of version 1.1.0 of Docker. We’ve made improvements throughout the Docker ecosystem, including updates to Docker Engine, Docker Hub, and our documentation.

Highlights include these new features:

New .dockerignore functionality

You can now add a .dockerignore file next to your `Dockerfile` and Docker will ignore files and directories specified in that file when sending the build context to the daemon.

Example: https://github.com/dotcloud/docker/blob/master/.dockerignore

Pause containers during commit

Doing a commit on a running container was not recommended because you could end up with files in an inconsistent state (for example, if they were being written during the commit). Containers are now paused when a commit is made to them.

You can disable this feature with docker commit --pause=false <container_id>.

Tailing logs

You can now tail the logs of a container. For example, you can get the last ten lines of a log by using docker logs --tail 10 <container_id>. You can also follow the logs of a container without having to read the whole log file with docker logs --tail 0 -f <container_id>.

Allow a tar file as context for docker build

You can now pass a tar archive to `docker build` as context. This can be used to automate docker builds, for example: cat context.tar | docker build - or docker run builder_image | docker build -

Bind mounting your whole filesystem in a container

/ is now allowed as source of --volumes. This means you can bind-mount your whole system in a container if you need to. For example: docker run -v /:/my_host ubuntu:ro ls /my_host. However, it is now forbidden to mount to /.

Other Improvements & Changes

  • Port allocation has been improved. In the previous release, Docker could prevent you from starting a container with previously allocated ports which seemed to be in use when in fact they were not. This has been fixed.
  • A bug in docker save was introduced in the last release. The docker save command could produce images with invalid metadata. The command now produces images with correct metadata.
  • Running docker inspect in a container now returns which containers it is linked to.
  • The docker commit flag has improved validation, to better prevent you from committing an image with a name such as  -m. Image names with dashes in them potentially conflict with command line flags.
  • The API now has Improved status codes for  start and stop. Trying to start a running container will now return a 304 error.
  • Performance has been improved overall. Starting the daemon is faster than in previous releases. The daemon’s performance has also been improved when it is working with large numbers of images and containers.
  • Fixed an issue with white-spaces and multi-lines in Dockerfiles.

We hope you enjoy this release and find it useful. As always, don’t hesitate to contact us with questions, comments or kudos.

Learn More

16 Responses to “Announcing Docker 1.1.0”

  1. Americano-

    Good job guys!

    Reply
  2. Announcing Docker 1.1.0 | Blog

    […] Announcing Docker 1.1.0 […]

    Reply
  3. alian

    wow, great job!

    Reply
  4. Docker 1.1.0 发布,新增 .dockerignore 特性 | 我爱互联网

    […] 官方发行说明:http://blog.docker.com/2014/07/announcing-docker-1-1/ […]

    Reply
  5. Docker 1.1 Released and With It A New “Ignore” Functionality | The New Stack

    […] Solomon Hykes said to me that in the 1.1 release there would be .dockerignore functionality.  Docker 1.1 is now live and true to his word, developers can now add a “.dockerignore file next to their`Dockerfile` […]

    Reply
  6. 「Docker 1.1.0」リリース

    […] 最近大人気となっているオープンソースのコンテナ型仮想化ソフトウェア「Docker」の最新版 1.1.0 がリリースされました(アナウンス)。 […]

    Reply
  7. Jonathan Panozzo

    Awesome work docker team! This is amazing!!

    Reply
  8. Reducing Docker Intermediate Layers and Dockerfile Complexity | psidox, inc.

    […] the release of Docker 1.1.0 one of the above mentioned problems has been solved. The following is an excerpt from the release […]

    Reply
  9. Docker 1.1.0 发布

    […] 官方发行说明:http://blog.docker.com/2014/07/announcing-docker-1-1/ […]

    Reply
  10. Sigmund Lundgren

    Can’t find the download among the releases on github, not done yet?

    Reply
  11. Выпуск cистемы управления контейнерной виртуализацией Docker 1.1 | AllUNIX.ru — Всероссийский портал о UNIX-системах

    […] Доступен второй стабильный релиз инструментария для управления изолированными Linux-контейнерами Docker, предоставляющего высокоуровневый API для манипуляции контейнерами на уровне изоляции отдельных приложений. В частности, Docker позволяет не заботясь о формировании начинки контейнера запускать произвольные процессы в режиме изоляции и затем переносить и клонировать сформированные для данных процессов контейнеры на другие серверы, беря на себя всю работу по созданию, обслуживанию и сопровождению контейнеров. Код Docker написан на языке Go и распространяется под лицензией Apache 2.0. […]

    Reply
  12. Luís Eduardo

    Would be nice if it supports containers migration between machines on the same network.

    Reply
  13. codescaling | Developer Catchup: Docker 1.1.0, Rust 0.11.0, Python 2.7.8 and Dropbox Go Libraries

    […] 1.1.0: The first post 1.0 update for Docker is in and Docker 1.1.0 now has a .dockerignore mechanism for ignoring file changes, containers that now pause when a […]

    Reply
  14. OSPN Press 第48号 (2014/7/16発行)

    […] ◆2014/07/03 コンテナ型仮想化ソフトウェア「Docker 1.1」リリース http://blog.docker.com/2014/07/announcing-docker-1-1/ […]

    Reply

Leave a Reply