title: Connect Docker oracle EE + sqlplus
body: <p>I am trying to connect the <a href="https://store.docker.com/profiles/own3dh2so4/content/sub-f73dd024-50b7-484d-88bf-2ae77e544820" rel="nofollow noreferrer">official sqlplus</a> docker container to the <a href="https://store.docker.com/images/oracle-database-enterprise-edition/plans/08cf8677-bb8f-453c-b667-6b0c24a388d4?tab=instructions" rel="nofollow noreferrer">official  Oracle Database EE</a></p>
  <p>First I start the Oracle Database EE container:</p>
  <pre><code>  $docker run -d -it --name OracleEE -P store/oracle/database-enterprise:12.2.0.1
    $docker port OracleEE 
       1521/tcp -&gt; 0.0.0.0:32773
       5500/tcp -&gt; 0.0.0.0:32772
    $docker inspect OracleEE | grep -i IPAddress
          &quot;SecondaryIPAddresses&quot;: null,
          &quot;IPAddress&quot;: &quot;172.17.0.2&quot;,
                  &quot;IPAddress&quot;: &quot;172.17.0.2&quot;,
  </code></pre>
  <p>Now, ¿How can I connect to this database?</p>
  <p>In the docker image doc I read:</p>
  <blockquote>
  <p>You can run a container interactively to execute ad-hoc SQL and PL/SQL statements in SQL*Plus:</p>
  <p>docker run -ti --rm store/oracle/database-instantclient:12.2.0.1 sqlplus hr/welcome@example.com/pdborcl</p>
  </blockquote>
  <p>For this reason I understood that this command must work:</p>
  <pre><code> $docker run -ti --rm store/oracle/database-instantclient:12.2.0.1 sqlplus sys/Oradoc_db1@172.17.0.2:32773/orcl.localdomain
  </code></pre>
  <p>But the response is the following error:</p>
  <pre><code>  SQL*Plus: Release 12.2.0.1.0 Production on Wed Sep 20 11:42:31 2017
    
    Copyright (c) 1982, 2016, Oracle.  All rights reserved.
    
    ERROR:
    ORA-12541: TNS:no listener
    
    
    Enter user-name: 
  </code></pre>
  <p>Where is my error?</p>