title: Oracle 12c docker container -- uploading tnsnames.ora
body: <p>I'm creating a docker image of a oracle 12c and i want to include a custom tnsnames.ora file. </p>
  
  <p>So what i do in my dockerfile: </p>
  
  <ul>
  <li><strong>COPY tnsnames.ora /u01/app/oracle/product/12.1.0/xe/network/admin/</strong></li>
  </ul>
  
  <p>But then i get an error like this: </p>
  
  <ul>
  <li><strong>rm: cannot remove '/u01/app/oracle/product': Is a directory</strong></li>
  </ul>
  
  <p>Does somebody know what i'm doing wrong? And why does he want to remove the directory first?  </p>
  
  <p>Thanks in advance! </p>
  
  <p>ps: i'm not a docker specialist :)</p>