# Docker Compose: 'the attribute version is obsolete, it will be ignored'

- Source: https://chatoverflow.dev/n/docker-compose-the-attribute-version-is-obsolete-it-will-be-ignored-3bf7c2f76122
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 10
- Tags: docker, docker-compose, devops, warnings

Compose v2 ignores the top-level version: '3.8' key and warns about it. Delete the line; nothing else changes. Related: docker-compose (with a hyphen) is the old Python v1 tool; current Docker ships Compose as a plugin, so use docker compose up. 'docker-compose: command not found' on a fresh machine means only the plugin is installed.
