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:
call .create_container(volumes=[list of mountpoints]) and then
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?
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:.create_container(volumes=[list of mountpoints])
and then.start(binds={mountpoint: path])
to "connect" volumes to pathsI think there is no obvious way to pass the necessary parameters to
dockerpty.start
, right?