Skip to content

Volume mount paths should be relative to YAML file #1109

Closed

Description

@aanand

#1099 makes env_file paths relative to the YAML file. volume host paths should follow the same logic.

Activity

  1. added this to the 1.2.0 milestone on Mar 13, 2015
  2. aanand commented on Mar 19, 2015

    @aanand
    Author

    Implemented in #1088.

  3. cameron commented on Apr 20, 2015

    @cameron

    How does it behave when the docker client and server are on different hosts?

  4. ebuildy commented on Jun 15, 2015

    @ebuildy

    I think (sometimes...) that it would be nice to have a "set current working directory" option as lot of people are using virtual machine to work with Docker (boot2docker in my situation) and path will differ from the production server for instance.

    docker-compose -f ./ops/docker-compose.yml --cwd=./shared/data/
    

    This will be very useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions