Run ibmcom/db2 image - container exits after a few seconds

Hi, I am trying to use the imbcom/db2 docker image.

When I use to sample run command found on
https://hub.docker.com/r/ibmcom/db2, the container runs for a few seconds, and then it is exited.

Has anyone succeeded in using this image?

The command I use :

docker run -itd --name mydb2 --privileged=true -p 50000:50000 -e LICENSE=accept -e DB2INST1_PASSWORD=<choose an instance password> -e DBNAME=testdb -v <db storage dir>:/database ibmcom/db2

These are the errors I receive:

2020-07-22-18.48.48.764885+000 I1E392 LEVEL: Warning
PID : 1051 TID : 140357655443264
FUNCTION: DB2 Common, IBM DB2SUPPORT API, suppInstallPerformCollectionOnHost, probe:60
MESSAGE : ECF=0x9000001A File doesn’t exist
DATA #1 : String, 114 bytes
The following file was not found or could not be executed during diagnostic
data collection: /usr/bin/lssam

2020-07-22-18.48.48.791794+000 I394E393 LEVEL: Warning
PID : 1051 TID : 140357655443264
FUNCTION: DB2 Common, IBM DB2SUPPORT API, suppInstallPerformCollectionOnHost, probe:60
MESSAGE : ECF=0x9000001A File doesn’t exist
DATA #1 : String, 115 bytes
The following file was not found or could not be executed during diagnostic
data collection: /usr/bin/lsrsrc

2020-07-22-18.48.48.805663+000 I788E393 LEVEL: Warning
PID : 1051 TID : 140357655443264
FUNCTION: DB2 Common, IBM DB2SUPPORT API, suppInstallPerformCollectionOnHost, probe:60
MESSAGE : ECF=0x9000001A File doesn’t exist
DATA #1 : String, 115 bytes
The following file was not found or could not be executed during diagnostic
data collection: /usr/bin/lsrsrc

2020-07-22-18.48.48.937790+000 I1182E392 LEVEL: Warning
PID : 1051 TID : 140357655443264
FUNCTION: DB2 Common, IBM DB2SUPPORT API, suppInstallPerformCollectionOnHost, probe:60
MESSAGE : ECF=0x9000001A File doesn’t exist
DATA #1 : String, 114 bytes
The following file was not found or could not be executed during diagnostic
data collection: /usr/bin/errpt

2020-07-22-18.48.49.000856+000 I1575E405 LEVEL: Warning
PID : 1051 TID : 140357655443264
FUNCTION: DB2 Common, IBM DB2SUPPORT API, suppInstallPerformCollectionOnHost, probe:60
MESSAGE : ECF=0x9000001A File doesn’t exist
DATA #1 : String, 127 bytes
The following file was not found or could not be executed during diagnostic
data collection: /usr/lpp/mmfs/bin/gpfs.snap

2020-07-22-18.48.49.019907+000 I1981E393 LEVEL: Warning
PID : 1051 TID : 140357655443264
FUNCTION: DB2 Common, IBM DB2SUPPORT API, suppInstallPerformCollectionOnHost, probe:60
MESSAGE : ECF=0x9000001A File doesn’t exist
DATA #1 : String, 115 bytes
The following file was not found or could not be executed during diagnostic
data collection: /usr/bin/ctsnap

2020-07-22-18.48.57.633882+000 I2375E289 LEVEL: Warning
PID : 1051 TID : 140357655443264
FUNCTION: DB2 Common, IBM DB2SUPPORT API, suppCollectSpecificFiles, probe:60
MESSAGE : ECF=0x90000002 Failed
DATA #1 : String, 34 bytes
Files “db2diag.log*” do not exist

2020-07-22-18.48.57.651361+000 I2665E286 LEVEL: Warning
PID : 1051 TID : 140357655443264
FUNCTION: DB2 Common, IBM DB2SUPPORT API, suppCollectSpecificFiles, probe:60
MESSAGE : ECF=0x90000002 Failed
DATA #1 : String, 31 bytes
Files “db2iupdt*” do not exist

2020-07-22-18.48.57.656183+000 I2952E286 LEVEL: Warning
PID : 1051 TID : 140357655443264
FUNCTION: DB2 Common, IBM DB2SUPPORT API, suppCollectSpecificFiles, probe:60
MESSAGE : ECF=0x90000002 Failed
DATA #1 : String, 31 bytes
Files “db2idrop*” do not exist

2020-07-22-18.48.57.674440+000 I3239E293 LEVEL: Warning
PID : 1051 TID : 140357655443264
FUNCTION: DB2 Common, IBM DB2SUPPORT API, suppCollectSpecificFiles, probe:60
MESSAGE : ECF=0x90000002 Failed
DATA #1 : String, 38 bytes
Files “ibm.db2.cluster*” do not exist

2020-07-22-18.48.57.687933+000 I3533E285 LEVEL: Warning
PID : 1051 TID : 140357655443264
FUNCTION: DB2 Common, IBM DB2SUPPORT API, suppCollectSpecificFiles, probe:60
MESSAGE : ECF=0x90000002 Failed
DATA #1 : String, 30 bytes
Files “db2log.*” do not exist

2020-07-22-18.48.57.701219+000 I3819E287 LEVEL: Warning
PID : 1051 TID : 140357655443264
FUNCTION: DB2 Common, IBM DB2SUPPORT API, suppCollectSpecificFiles, probe:60
MESSAGE : ECF=0x90000002 Failed
DATA #1 : String, 32 bytes
Files “db2setup.*” do not exist

2020-07-22-18.48.57.720956+000 I4107E289 LEVEL: Warning
PID : 1051 TID : 140357655443264
FUNCTION: DB2 Common, IBM DB2SUPPORT API, suppCollectSpecificFiles, probe:60
MESSAGE : ECF=0x90000002 Failed
DATA #1 : String, 34 bytes
Files “db2trc.trc.*” do not exist

2020-07-22-18.48.57.727851+000 I4397E292 LEVEL: Warning
PID : 1051 TID : 140357655443264
FUNCTION: DB2 Common, IBM DB2SUPPORT API, suppCollectSpecificFiles, probe:60
MESSAGE : ECF=0x90000002 Failed
DATA #1 : String, 37 bytes
Files “installFixPack*” do not exist

2020-07-22-18.48.57.737399+000 I4690E280 LEVEL: Warning
PID : 1051 TID : 140357655443264
FUNCTION: DB2 Common, IBM DB2SUPPORT API, suppCollectSpecificFiles, probe:60
MESSAGE : ECF=0x90000002 Failed
DATA #1 : String, 25 bytes
Files “fp*” do not exist