Shiou-Ju / cobol-account-management

MIT License
0 stars 0 forks source link

DB2 not working on ARM #1

Open Shiou-Ju opened 9 months ago

Shiou-Ju commented 9 months ago
  1. https://stackoverflow.com/questions/70175677/ibmcom-db2-docker-image-fails-on-m1

  2. https://community.ibm.com/community/user/datamanagement/communities/community-home/digestviewer/viewthread?GroupId=2983&MessageKey=bf84e57b-263a-4ba5-a925-f13530c70e00&CommunityKey=ea909850-39ea-4ac4-9512-8e2eb37ea09a

these will be enough

Shiou-Ju commented 8 months ago

docker compose example:


# For DB2
# not supporting ARM using Docker
# https://github.com/Shiou-Ju/cobol-account-management/issues/1

# version: '3.1'

# services:
#   db2:
#     image: ibmcom/db2
#     environment:
#       DB2INST1_PASSWORD: db2inst1_password
#       LICENSE: accept
#       DBNAME: testdb
#     ports:
#       - '50000:50000'
#     container_name: 'db2_container'
#     # Optional: Set a volume for DB2 data persistence
#     volumes:
#       - db2_data_volume:/database
#     # Use this command to automatically create a database on startup (optional)
#     command: db2start

# volumes:
#   db2_data_volume: