docker cp from host to container is not working
<p>I am new to docker concept and trying to copy some file from my host to the container. Assuming that my docker name is my_docker when I run the following:</p>

<pre><code>docker cp my_docker:/usr/local/src/test.txt test.txt
</code></pre>

<p>It copies the test.txt file from my container to the local host. But doing it the other way around is not working. Here is the command:</p>

<pre><code>docker cp test.txt my_docker:/usr/local/src
</code></pre>

<p>Is there something that I am doing run? Any help would be much appreciated. </p>

<p>Thanks</p>