Skip to content

Support ro option in volumes_from #1188

Closed

Description

@caiguanhao

docker-compose 1.1.0 doesn't support ro in volumes_from yet.

error message:

Service "container" mounts volumes from "nginx_logs_1:ro", which is not the name of a service or container.

docker-compose.yml:

container:
  build: .
  ports:
    - '19198:22'
  volumes_from:
    - 'nginx_logs_1:ro'

docker command that works:

docker run -d -p=19198:22 --volumes-from=nginx_logs_1:ro --name=ssh_container_1 ssh_container

Activity

  1. added 5 commits that reference this issue on May 16, 2015
    027d424
    258eed0
    0f2f2cc
    3e44589
    e1bb926
  2. added 10 commits that reference this issue on May 27, 2015
    5fe7b28
    1cca0b1
    8835d59
    18e6d29
    6d7ee95
    d32099a
    9b6490f
    c72e817
    4855e6f
    47a6bfe
  3. 16 remaining items

  4. added 2 commits that reference this issue on Jun 19, 2015
    7d1207e
    56ca62b
  5. added 4 commits that reference this issue on Jul 2, 2015
    4d91905
    2393528
    a1bc99e
    d93b9cc
  6. added a commit that references this issue on Jul 18, 2015
    cd12139
  7. added 2 commits that reference this issue on Oct 1, 2015
    526576a
    5b55a08
  8. added 2 commits that reference this issue on Oct 10, 2015
    e3c34f5
    1b697c5
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions