×
Falcon
2024-04-09 00:01
#daily tips# OpenWrt安装 docker compose 的命令

DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker}
mkdir -p $DOCKER_CONFIG/cli-plugins
curl -SL https://github.com/docker/compose/releases/download/v2.26.1/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose
chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose
docker compose version

参考官方文档:https://docs.docker.com/compose/install/linux/#install-using-the-repository
0

暂无评论