Skip to content

Commit

Permalink
docker has a new storage driver
Browse files Browse the repository at this point in the history
Linux only!
There is now overlay2 too, so our hcp script needs to check for overlay
and overlay2. Maybe even overlay3, or overlay120 sometimes in the
future.
  • Loading branch information
denisSal committed Jun 6, 2018
1 parent f8e17c2 commit 6c9165c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/hcp.linux
Expand Up @@ -52,7 +52,7 @@ getViStoLoc() {
fi
echo $basedir/aufs/diff/$mount_dir;;
btrfs) echo $basedir/btrfs/subvolumes/$dockerid;;
overlay) docker inspect $dockerid | grep UpperDir | awk '{print $2}' | cut -d'"' -f2;;
overlay*) docker inspect $dockerid | grep UpperDir | awk '{print $2}' | cut -d'"' -f2;;
esac
}

Expand Down

0 comments on commit 6c9165c

Please sign in to comment.