Initialize volumes when container is created
Fixes #8942
Current behavior is that volumes aren't initialized until start.
Volumes still need to be initialized on start since VolumesFrom and
Binds can be passed in as part of HostConfig on start, however anything
that's already been initialized will just be skipped as is the current
behavior.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Rename overlayfs to overlay

Since Linux 3.18-rc6, overlayfs has been renamed overlay.

This change was introduced by the following commit in linux.git:
ef94b1864d1ed5be54376404bb23d22ed0481feb ovl: rename filesystem type to "overlay"

Signed-off-by: Lénaïc Huard <lhuard@amadeus.com>
graphdb: initialize the database semi-idempotently on every connection.

Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
Rename the overlay storage driver

so that docker is started with `docker -d -s overlay` instead of `docker -d -s overlayfs`

Signed-off-by: Lénaïc Huard <lhuard@amadeus.com>
Remove the last references to overlayfs

This only renames docker internal structures.
It has no impact on the end-user.

Signed-off-by: Lénaïc Huard <lhuard@amadeus.com>
Merge pull request #9426 from lhuard1A/overlay_rename

Rename overlayfs to overlay
Fix invalid argument error on push

With 32ba6ab from #9261, TempArchive now closes the underlying file and
cleans it up as soon as the file's contents have been read. When pushing
an image, PushImageLayerRegistry attempts to call Close() on the layer,
which is a TempArchive that has already been closed. In this situation,
Close() returns an "invalid argument" error.

Add a Close method to TempArchive that does a no-op if the underlying
file has already been closed.

Signed-off-by: Andy Goldstein <agoldste@redhat.com>
Merge pull request #9482 from ncdc/TempArchive-close-bug

Fix invalid argument error on push
Talk about URL support and the real meaning of `-` in the latest `fromSrc` API documentation.

Signed-off-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Update the most recent released version of the docs as well.

Signed-off-by: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Merge pull request #9089 from cpuguy83/8942_create_volumes_on_create

Initialize volumes when container is created
Fix tests with old cmd function.

Docker-DCO-1.1-Signed-off-by: Jessica Frazelle <jess@docker.com> (github: jfrazelle)
Merge pull request #9490 from jfrazelle/fix-test-cmd-eff

Fix tests with old cmd function.
Merge pull request #9451 from erikh/fix-sqlite

graphdb: initialize the database semi-idempotently on every connection, not just new installs.
Merge pull request #9486 from ClusterHQ/9484-fromSrc-api-docs

Document fromSrc more clearly
Something changed, broke the docs release script, and it seems that --exclude still doesn't work, so I'm removing it

Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
Merge pull request #9495 from SvenDowideit/aws-cli-exclude-still-broken

Something changed, broke the docs release script, and it seems that --ex...
Fix the issue when docker exec a paused container, it will always hang.
Add the test case of this issue.

Docker-DCO-1.1-Signed-off-by: Chen Chao <cc272309126@gmail.com> (github: cc272309126)