I am using the following docker-compose.yaml file:
version: '3.3'
services:
db2:
container_name: db2inst1
restart: always
privileged: true
env_file:
- .env_list
ports:
- '50000:50000'
volumes:
- './db2_home:/database'
image: icr.io/db2_community/db2
This will create a db2_home directory on the Host.
I can cd into db2_home/config/db2inst1/sqllib on the Host and I have access to many things.
But there are many directories that are symbolic links to /opt/ibm/db2/V11.5 which are broken(not available) on the Host.
How should I modify the compose file so I can access these directories on the Host?
I am most interested in the following directories: include, samples and lib (which itself is a symbolic link to lib64)
------------------------------
David Stagowski
------------------------------