Skip to content
Browse files

DEV: resolve symlinks in docker dev

symlinks where not fully resolved leading to docker not booting when you
had symlinks in the plugins directory pointing at relative paths.
  • Loading branch information
SamSaffron committed Jan 12, 2020
1 parent 1a31a40 commit d8412f409a9b98e82b269ed058bf05f88e34e886
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/docker/boot_dev
@@ -70,7 +70,7 @@ for symlink in $(find $PLUGINS_DIR -type l); do
# This deliberately does not use the `-f` option to canonicalize the value
# because 1) the BSD `readlink` does not support the option, and 2) a
# relative link would not work inside the container anyway.
symlink_value=$(readlink $symlink)
symlink_value=$(readlink -f $symlink)
mount_plugin_symlinks+=" -v ${symlink_value}:${symlink_value}:delegated"

0 comments on commit d8412f4

Please sign in to comment.
You can’t perform that action at this time.