Mounting docker directory failed for fuse-overlayfs.
This commit is contained in:
parent
e99bac43b5
commit
8b1169a684
@ -4,6 +4,10 @@ set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
: ${DOCKERDIR:="$DIR/docker"}
|
||||
|
||||
mkdir -p "$DOCKERDIR"
|
||||
|
||||
function cleanup {
|
||||
for dev in "${devices[@]}"; do
|
||||
echo "Deleting $dev"
|
||||
@ -43,6 +47,7 @@ bhyve \
|
||||
-s 4:0,virtio-blk,/vm/docker/disk0.img \
|
||||
-s 5:0,virtio-net,tap1,mac=58:9c:fc:09:c3:ba \
|
||||
-s 6:0,virtio-rnd \
|
||||
-s "7:0,virtio-9p,docker=$DOCKERDIR" \
|
||||
-l com1,stdio \
|
||||
docker
|
||||
bhyve_status=$?
|
||||
|
Loading…
Reference in New Issue
Block a user