From 264800d621c6b7037556d2fff81519dd1caddfe7 Mon Sep 17 00:00:00 2001 From: James Swineson Date: Fri, 17 Apr 2020 05:54:41 -0700 Subject: [PATCH] use -v instead of --bind to auto create the directories --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 40f14bc..da17bfd 100644 --- a/README.md +++ b/README.md @@ -14,8 +14,8 @@ docker run -d \ --memory=256m \ --cap-add=SYS_ADMIN --cap-add=CAP_NET_RAW --cap-add=CAP_CHOWN \ --mount type=tmpfs,destination=/var/atlasdata \ - --mount type=bind,src=/var/atlas-probe/etc,dst=/var/atlas-probe/etc \ - --mount type=bind,src=/var/atlas-probe/status,dst=/var/atlas-probe/status \ + -v /var/atlas-probe/etc:/var/atlas-probe/etc \ + -v /var/atlas-probe/status:/var/atlas-probe/status \ --name ripe-atlas \ jamesits/ripe-atlas:latest ```