docker-compose version is obsolete

如果更新了docker或者docker-desktop

启动时候发现有 version is obsolete警告

删除yml第一行的version字段

上社区原文

Technically you can still define it... But you will get the warning you observed, and it won't be used, as docker compose v2 (=the cli plugin) will always use the latest version of the compose file schema.

相关推荐
chevysky.cn33 分钟前
Jenkins自动部署CI/CD
运维·ci/cd·jenkins
躲猫猫的喵喵3 小时前
Ubuntu2204降内核版本
linux·运维·服务器·ubuntu
zdslovezy3 小时前
CentOS 系统升级 OpenSSH 和 OpenSSL 的完整方案
linux·运维·centos
cccccc语言我来了4 小时前
(Linux (6):从包管理到工具探索,构建系统操作基础认知)
linux·运维·服务器
8K超高清4 小时前
高校巡展:中国传媒大学+河北传媒学院
大数据·运维·网络·人工智能·传媒
wuk9985 小时前
CentOS7环境搭建L2TP服务器
运维·服务器
恒创科技HK5 小时前
香港1核2G云服务器当网站服务器够用不?
运维·服务器
IT 小阿姨(数据库)5 小时前
PostgreSQL 之上的开源时序数据库 TimescaleDB 详解
运维·数据库·sql·postgresql·开源·centos·时序数据库
颜大哦6 小时前
linux安装mysql
linux·运维·mysql·adb
学习3人组6 小时前
Node.js 网站服务器开发
运维·服务器·node.js