How to add jar files to dremio-oss docker?

Presumably I need to mount a volume, but where do I mount it to?

docker run -v my_local_folder:WHERE? -p 9047:9047 -p 31010:31010 -p 32010:32010 -p 45678:45678 dremio/dremio-oss

https://hub.docker.com/r/dremio/dremio-oss/

a quick workaround …

docker run -d --name my_dremio_container -p 9047:9047 -p 31010:31010 -p 32010:32010 -p 45678:45678 dremio/dremio-oss
sleep 30
docker cp ./dremio-vast-data-connector-3.0.3-SNAPSHOT.jar my_dremio_container:/opt/dremio/jars/dremio-vast-data-connector-3.0.3-SNAPSHOT.jar
docker commit my_dremio_container my_new_dremio_image
docker kill my_dremio_container
docker rm my_dremio_container
docker run --name my_dremio_container -p 9047:9047 -p 31010:31010 -p 32010:32010 -p 45678:45678 my_new_dremio_image

To add a custom jar file, you need to create a new Docker image. Please check the following link for the same.