From 21d40355b086198ba66afe950d0c7bb32aa6cc27 Mon Sep 17 00:00:00 2001 From: Damian Bushong Date: Mon, 14 Jan 2019 10:08:14 -0600 Subject: [PATCH] Advise Docker for Windows users against involving stdin/stdout --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index fb6fc83..5c18756 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ will archive volume named `some_volume` to `/tmp/some_archive.tar.bz2` archive f This avoids mounting a second backup volume and allows to redirect it to a file, network, etc. +**WARNING**: This method should not be used with a Docker for Windows installation; no usable backup will be generated. + Syntax: docker run -v [volume-name]:/volume --rm loomchild/volume-backup backup - > [archive-name] @@ -50,6 +52,8 @@ This avoids mounting a second backup volume. **Note**: Don't forget the `-i` switch for interactive operation. +**WARNING**: This method should not be used with a Docker for Windows installation; no usable backup will be generated. + Syntax: cat [archive-name] | docker run -i -v [volume-name]:/volume --rm loomchild/volume-backup restore -