title: Dockerized IBM DB2: No start database manager command was issued. SQLSTATE=57019
body: <p>I'm trying to run an instance of IBM DB2 in a Docker container but for some reason It doesn't start properly.</p>
  
  <p>This is the error code I can see in the Terminal running on Mac OS Mojave.</p>
  
  <pre><code>12/09/2019 09:13:40     0   0   SQL1032N  No start database manager command was issued.
  db_1   | SQL1032N  No start database manager command was issued.  SQLSTATE=57019
  db_1   | (*) Cataloging existing databases
  db_1   | ls: cannot access /database/data/db2inst1/NODE0000: No such file or directory
  </code></pre>
  
  <p>This is my docker-compose.yml</p>
  
  <pre><code>version: '3'
  services: 
    app:    
      build: .
      ports:
        - "8080:8080"
        - "8000:8000" 
    db:
      image: ibmcom/db2
      privileged: true
      restart: always
      ports:
        - 50000:50000
      environment: 
        - LICENSE=accept
        - DB2INSTANCE=db2inst1
        - DB2INST1_PASSWORD=admin
        - DBNAME=salesrep           
        - SAMPLEDB=true        
      volumes: 
        - /my/path/db:/database     
  </code></pre>
  
  <p>I've found other threads talking about these error codes but none of them was useful for me and unfortunately and I don't have any knowledge of DB2.</p>
  
  <p>Thank you in advance.</p>
  
  <p><strong>UPDATE</strong>
  Ok, now it starts. At the beginning the <code>privileged: true</code> param in my docker-compose.yml was absent. I added it during my test few minutes ago and It works.</p>
  
  <p>Thanks to this thread: <a href="https://stackoverflow.com/questions/47751750/sql1032n-no-start-database-manager-command-was-issued-sqlstate-57019">SQL1032N No start database manager command was issued. SQLSTATE=57019</a></p>
  
  <p>The only thing that, now, I don't understand is why I can find the <code>testdb</code> that I tell to create during the startup.
  If I check the schemas in my DB2 connection (I use DBeaver) I can only see:</p>
  
  <pre><code>SYSCAT,
  SYSFUN,
  SYSIBM
  ...
  </code></pre>