Use /drone/docker for the Docker daemon's graph directory

This allows caching the whole Docker graph with the cache plugin. (Caching works efficiently with the overlay storage driver at least. Probably shouldn't be used with other storage drivers.)
This commit is contained in:
Martin Honermeyer
2016-01-02 18:02:08 +01:00
parent 0986b5dfe0
commit 4023d44674
2 changed files with 30 additions and 4 deletions

View File

@@ -93,7 +93,7 @@ func main() {
}
go func() {
args := []string{"daemon"}
args := []string{"daemon", "-g", "/drone/docker"}
if len(vargs.Storage) != 0 {
args = append(args, "-s", vargs.Storage)