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.

相关推荐
大苏打seven15 分钟前
Docker学习笔记:Docker网络
笔记·学习·docker
小扎仙森16 分钟前
关于服务器宝塔转移wordperss子比主题问题
运维·服务器
小小小糖果人19 分钟前
Linux云计算基础篇(5)
linux·运维·服务器
我不是哆啦A梦24 分钟前
破解风电运维“百模大战”困局,机械版ChatGPT诞生?
运维·人工智能·python·算法·chatgpt
小张是铁粉42 分钟前
docker在Linux的安装遇到的问题
linux·docker·容器
weixin_7714323111 小时前
linux系统 weblogic10.3.6(jar) 下载及安装
linux·运维·jar
scuter_yu1 小时前
主流零信任安全产品深度介绍
运维·网络·安全
开开心心就好1 小时前
免费PDF处理软件,支持多种操作
运维·服务器·前端·spring boot·智能手机·pdf·电脑
m0_653031362 小时前
腾讯云认证考试报名 - TDSQL数据库交付运维专家(TCCE PostgreSQL版)
运维·数据库·腾讯云
IC 见路不走3 小时前
LeetCode 第91题:解码方法
linux·运维·服务器