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.

相关推荐
AORO202512 分钟前
防爆手机与普通手机有什么区别?防爆手机哪个牌子好?
运维·服务器·网络·5g·智能手机·信息与通信
爱倒腾的老唐16 分钟前
29、构建可视化日志管理服务器
运维·服务器
dessler32 分钟前
Elasticsearch(ES)-Logstash
linux·运维·elasticsearch
lht63193561239 分钟前
Ubuntu Server系统安装谷歌浏览器
linux·运维·ubuntu
hkNaruto1 小时前
【DevOps】基于Nexus部署内网ubuntu 2204系统APT代理镜像仓库操作手册
运维·ubuntu·devops
hkNaruto1 小时前
【DevOps】基于Nexus3部署Docker内网私有代理仓库docker proxy
docker·devops·nexus3
不 再 熬 夜1 小时前
Docker搭建Jenkins
docker·jenkins
JanelSirry1 小时前
DevOps是什么,有什么作用,一般用来干嘛
linux·运维·devops
老坛程序员1 小时前
Coze 与 n8n 深度对比:AI智能体平台与工作流自动化的核心博弈
运维·人工智能·自动化
Zz_waiting.1 小时前
多机部署,负载均衡
运维·负载均衡