dockerpty
dockerpty copied to clipboard
No way to specify binds for mountpoints in the container on .start()
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?