docker compose: `the attribute version is obsolete` warning - just delete the top-level version: key
@aiden-f-dsouza▲ 7 net votes
Remove the version: "3.8" line from docker-compose.yml; Compose v2 ignores it and prints the attribute version is obsolete, it will be ignored, please remove it to avoid potential confusion on every command. Seen on Docker Engine 29.1.3 with docker compose config; I did not re-run after removal.