Skip to content

Container fails to start when using relative volume paths in docker-compose.yml #3702

@deadbeef84

Description

@deadbeef84

Rancher Version: 0.59.0

Docker Version: 1.9.1

OS: Ubuntu 15.10

Steps to Reproduce:

web:
  image: httpd
  volumes:
    - ./htdocs:/usr/local/apache2/htdocs

And then try to boot it up using $ rancher-compose up -d

Results:
Fail to start container, with the following exception in rancher-server
400 Client Error: Bad Request ("./htdocs includes invalid characters for a local volume name, only [a-zA-Z0-9][a-zA-Z0-9_.-] are allowed")

Expected:
Successful start of container, interpreting the volume as a relative path instead of a name. This works as expected when using docker-compose.

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