Skip to content

Tag: volumes

How to pass volume to docker container?

I am running the below docker command : docker run -d -v /Users/gowthamkrishnaaddluri/Documents/dfki_sse/demo:/quantum-demo/ -it demo python3 /quantum-demo/circuit.py –res ‘./’ I am trying to run the above command in python and I have the code as follows: container = client.create_container(…