Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose.yml: version is obsolete #251

Open
kannvess opened this issue May 20, 2024 · 0 comments
Open

docker-compose.yml: version is obsolete #251

kannvess opened this issue May 20, 2024 · 0 comments

Comments

@kannvess
Copy link

Obsolete attribute

When I was doing Part 2 Section 1 (Migrating to Docker Compose) I ran into an issue after running docker compose build with the given docker-compose.yml:

version: '3.8'

services:
  yt-dlp-ubuntu:
    image: <username>/<repositoryname>
    build: .

The first line of the ouput is WARN[0000] <pwd>/docker-compose.yml: `version` is obsolete. I looked it up on google and found a closed issue docker/compose#11628. The resolution is that the attribute version is not needed anymore and also, here's the docs section to back it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant