dotcloud/docker — pull request #1100 by EnosFeedler (2013-07-02 07:33:51+00:00)
Title: Fixes issue #899 that prevents committing a container which hasn't been started yet

Create the 'rw' directory when the container is created to prevent crashing if the container is committed to an image before it is started (and hence before any aufs writes create the 'rw' directory implicitly). Something is expecting 'rw' to exist which causes a crash.