##// END OF EJS Templates
feat(upgrade): ensure docker compose gets upgraded on docker upgrade command
super-admin -
Show More
@@ -3764,6 +3764,14 b' rcstack_cli_docker_info_command() {'
3764 3764 # :command.function
3765 3765 rcstack_cli_docker_upgrade_command() {
3766 3766 # src/cli_docker_upgrade_command.sh
3767 DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
3768 DOCKER_CLI_PLUGINS=$DOCKER_CONFIG/cli-plugins
3769
3770 if [[ -f "$DOCKER_CLI_PLUGINS/docker-compose" ]]; then
3771 echo "found docker-compose at $DOCKER_CLI_PLUGINS, removing it now..."
3772 rm -rf "$DOCKER_CLI_PLUGINS/docker-compose"
3773 fi
3774
3767 3775 curl https://get.docker.com/ | sh
3768 3776
3769 3777 }
General Comments 0
You need to be logged in to leave comments. Login now