Copy multiple files in docker with cp
<p>I want to transfer multiple files from ubuntu to a docker container. For single file, the below command works:</p>

<pre><code>docker cp file_name CONTAINER:path/
</code></pre>

<p>But I am not able to upload multiple files at once. I have tried following commands, but no success yet:</p>

<pre><code>docker cp {file1,file2} CONTAINER:path/
docker cp [file1,file2] CONTAINER:path/
docker cp ["file1","file2"] CONTAINER:path/
</code></pre>

<p>All above commands returns "no such file or directory" error</p>