Skip to content
This repository was archived by the owner on Mar 23, 2023. It is now read-only.
This repository was archived by the owner on Mar 23, 2023. It is now read-only.

docker-compose auto-detection brittle #153

@cjerdonek

Description

@cjerdonek

The documentation in the README says:

If you are using Docker Compose, docker-osx-dev will automatically sync
any folders marked as volumes in docker-compose.yml.

However, when I run docker-osx-dev from a directory that contains docker-compose.yml, it sometimes doesn't notice the file:

$ docker-osx-dev 
2015-12-11 20:22:07 [INFO] Using default sync paths: .

Looking at the code, I see why now:

# Parses out all volumes: entries from the docker-compose file

I had YAML comments in my file that broke the hacky parsing.

The lack of true support should be better documented to save people time.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions