Hello,
I followed the steps at ibmcom/db2 - Docker Hub
and got a db2 container running. I am able to connect and run db2 within the container, but I can't connect with a user/password either from within the container or outside.
[db2inst1@8f797e9d9fdc ~]$ db2 connect to testdb user db2inst1
Enter current password for db2inst1:
SQL1639N The database server was unable to perform authentication because
security-related database manager files on the server do not have the required
operating system permissions. SQLSTATE=08001
I tried the fix recommended at Database connection fails with authentication error SQL1639N (ibm.com)
But, I am unable to change owner of the files from db2inst1 to root (tried with chown)
Please help. Thank you.
------------------------------
Richard Hsu
------------------------------
#Db2