8000 Issue in sudo docker-compose -f setup.yml up · Issue #106 · elastic/stack-docker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Apr 12, 2022. It is now read-only.
This repository was archived by the owner on Apr 12, 2022. It is now read-only.
Issue in sudo docker-compose -f setup.yml up #106
Open
@guruprasanthexzatech

Description

@guruprasanthexzatech

I ran the following command sudo docker-compose -f setup.yml up after pulling request from github.
Then i got the error
ERROR: Version in "./setup.yml" 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/

Then in setup.yml and docker-compose.yml i changed the version to 3.3 and then ran the command and then i got the following error.
WARNING: The PWD variable is not set. Defaulting to a blank string.
Creating stackdocker_setup_1 ...
Creating stackdocker_setup_1 ... error

ERROR: for stackdocker_setup_1 Cannot create container for service setup: invalid volume specification: '.:.:rw': invalid mount config for type "volume": invalid mount path: '.' mount path must be absolute

ERROR: for setup Cannot create container for service setup: invalid volume specification: '.:.:rw': invalid mount config for type "volume": invalid mount path: '.' mount path must be absolute
ERROR: Encountered errors while bringing up the project.

Iam using ubuntu Ubuntu 18.04.3 LTS and using docker-compose version 1.17.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0