Welcome to the Linux Foundation Forum!

Lab 8: Needed to disable docker-compose v2 to make it working

Hi,
I'm referring to video content, chapter 10 "Continuous Delivery to DEV with docker compose"
Video "Writing a Simple Compose Spec with Three Services"
In PDF "Lab 8. Deploy to Dev with Docker Compose"

After building docker-compose file I was getting below error:

  1. (root) Additional property worker is not allowed

or

  1. (root) Additional property result is not allowed

Solution / Workaround
Referring to this StackOverflow post, I found my docker-compose version is 2.5.1 and Disabling docker-compose v2 solved the issue

  1. docker-compose disable-v2

Comments

  • Posts: 139

    @ashraf.fouad thanks for reporting. Yes, I did notice this with my recent training sessions that v1 is no more supported by default and needs this step to disable v2. I would update the instructions accordingly.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training