Skip to content

No way to specify binds for mountpoints in the container on .start() #69

@jdelic

Description

@jdelic

I can't find a way to specify the binds kwarg on .start(). docker-py mandates that, to create bindmounts inside the container, the calling code follow two steps:

  1. call .create_container(volumes=[list of mountpoints]) and then
  2. call .start(binds={mountpoint: path]) to "connect" volumes to paths

I think there is no obvious way to pass the necessary parameters to dockerpty.start, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions