Skip to content

ERROR: Version in "./docker-compose.yaml" is unsupported. #44

@zarofka

Description

@zarofka

Describe the bug
ERROR: Version in "./docker-compose.yaml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the services key, or omit the version key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/

Deployment / CronJob / CLI command / Docker compose
docker-compose up

version: "3.8"
services:
browser:
image: selenium/standalone-chrome:3.141.59-20200730
ports:
- "4444:4444"
network_mode: "host"
volumes:
- /dev/shm:/dev/shm
canarytrace:
image: quay.io/canarytrace/smoke:3.0.5
depends_on:
- browser
network_mode: "host"
environment:
BASE_URL: 'https://canarytrace.com/;https://www.teststack.cz/'
ELASTIC_CLUSTER: http://localhost:9200

Expected behavior
Run Canarytrace Smoke

Environment information:
Description: Ubuntu 20.04.2 LTS
docker-compose version 1.25.3

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working📖 documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions