Replace -g with --data-root

This commit is contained in:
Radon Rosborough 2023-03-27 17:59:46 -07:00
parent 577002c02e
commit 23fc1617f4
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ mount -a
print "filesystem mounted at ${mount_point}"
docker_args="-g ${mount_point}/docker"
docker_args="--data-root ${mount_point}/docker"
if ! cat /lib/systemd/system/docker.service | grep -q -- "${docker_args}"; then
print "adding '${docker_args}' to docker.service"