Make files from local available to remote docker


We were trying to use the docker executor with common images but we need to provide a couple of files to the docker container at runtime. Normally, we would provide those via a volume mount, but unfortunately the remote docker does not support that.

We were using scp to get some artefacts in local from the remote_docker but the reverse does not seem to work. I mean scp to the remote docker works, but the container does not seem to have access to the files. We tried to scp the required files to /gome/circleci/project but then when we tried to run our container, it could not find those files.

Is there a work around for this? Or do we just need to use the machine executor? Thanks.