diff options
Diffstat (limited to 'system/docker-compose/doinst.sh')
-rw-r--r-- | system/docker-compose/doinst.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/system/docker-compose/doinst.sh b/system/docker-compose/doinst.sh new file mode 100644 index 0000000000..a05dcabbd4 --- /dev/null +++ b/system/docker-compose/doinst.sh @@ -0,0 +1,8 @@ +# Install docker-compose to docker-cli global plugin directory +PLUGIN_DIR="/usr/libexec/docker/cli-plugins" + +if [ ! -d "$PLUGIN_DIR" ]; then + mkdir -p $PLUGIN_DIR +fi + +ln -sf /usr/bin/docker-compose $PLUGIN_DIR/docker-compose |