I am running a docker container remotely using pydocker library. I need to mount a local directory in the running container. The documentation does mention the way to create a volume using APIs. However, I am unable to figure out how to use the volume while creating the container.
I am following the documentation at https://docker-py.readthedocs.io/en/stable/api.html#module-docker.api.container