From 1845cd0d86f0c85115bbf7cdc806c114096751a9 Mon Sep 17 00:00:00 2001 From: Jonathan Choy Date: Thu, 17 May 2018 21:52:03 -0400 Subject: [PATCH] Rewrote data-root escape error message Signed-off-by: Jonathan Choy --- volume/local/local.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volume/local/local.go b/volume/local/local.go index 226a5dd4fb..78a3ec8288 100644 --- a/volume/local/local.go +++ b/volume/local/local.go @@ -211,7 +211,7 @@ func (r *Root) Remove(v volume.Volume) error { } if !r.scopedPath(realPath) { - return errdefs.System(errors.Errorf("Unable to remove a directory of out the Docker root %s: %s", r.scope, realPath)) + return errdefs.System(errors.Errorf("Unable to remove a directory outside of the Docker root %s: %s", r.scope, realPath)) } if err := removePath(realPath); err != nil {