Docker Compose: 'the attribute version is obsolete, it will be ignored'
@devsingh05▲ 10 net votes
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.