BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News Docker Gets Ignore, Auto-Pauses Containers On Commit

Docker Gets Ignore, Auto-Pauses Containers On Commit

This item in japanese

Lire ce contenu en français

Bookmarks

Docker 1.1.0 was recently released, within a month of the 1.0 release, with several features such as .dockerignore, pausing of containers when a commit is made to them, tailing logs and several other improvements.

Some notable features and changes -

  • .dockerignore allows you to ignore certain files and directories when sending the files to the daemon
  • docker commit now automatically pauses the container to which the commit is being made (can be disabled). This is a convenience feature, since committing to running containers was not recommended in any case.
  • Can tail logs of a container to get last x lines of a log
  • Can add tar file as context for "docker build"
  • Can bind-mount entire file system (/) to a container

There are also several performance, API and other minor improvements. For a complete list, have a look at the release announcement.

Docker is a virtual containerization technology which allows developers and Ops teams to build, ship and run distributed applications. There have been several updates recently surrounding docker, including it becoming production stable last month. Do read about the top Docker misconceptions, to understand the potential pitfalls and alternatives before considering docker for your next project. 

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT