Skip to content

Commit

Permalink
Add support for detecting virtiofs mount (#737)
Browse files Browse the repository at this point in the history
  • Loading branch information
andytson-inviqa authored Jan 9, 2023
1 parent eb67d92 commit 376a2c7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/_base/docker/image/console/root/entrypoint.dynamic.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ resolve_volume_mount_strategy()
STRATEGY="host-osx-normal"
elif (mount | grep "/app type fuse.grpcfuse") > /dev/null 2>&1; then
STRATEGY="host-osx-normal"
elif (mount | grep "/app type virtiofs") > /dev/null 2>&1; then # virtiofs (Docker Desktop < 4.15)
STRATEGY="host-osx-normal"
elif (mount | grep "/app type fakeowner") > /dev/null 2>&1; then # virtiofs (Docker Desktop >= 4.15)
STRATEGY="host-osx-normal"
elif (mount | grep "/app type ext4") > /dev/null 2>&1; then
STRATEGY="host-osx-dockersync"
elif (mount | grep "/app type btrfs") > /dev/null 2>&1; then
Expand Down

0 comments on commit 376a2c7

Please sign in to comment.