Thanks Markus! We've tried that as well and tried to use `docker buildx` with no success. Well - the image can be started but as soon as it comes to start the instances etc. we get plenty of errors as files are not found etc. So once you get your M1, maybe you can give it a try :) . Looking forward to get your feedback on your experiences. Thanks!
------------------------------
Hermann Huebler
2innovate IT Consulting GmbH
Vienna
Austria
#IBMChampion
------------------------------
Original Message:
Sent: Wed February 09, 2022 02:07 AM
From: Markus Fraune
Subject: Running DB2 on Apple M1 (ARM) laptop in Docker
Hi, basically Docker Desktop should do the job. No need to convert as the linux inside the docker vm will emulate x86. You only need to specificy the platform parameter to tell docker to run the x86 image and do not search for an arm based native version. Try something like this:
docker run -itd --platform linux/amd64 --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
p.s.: could not try myself, still waiting for my m1 mac. ;)
------------------------------
Markus Fraune
Original Message:
Sent: Tue February 08, 2022 03:40 AM
From: Hermann Huebler
Subject: Running DB2 on Apple M1 (ARM) laptop in Docker
For one of my customers we've setup Docker containers for their developers so that they can develop and test locally (and can reset easily if things go wrong). So far all the developers were running x86_64 CPUs so we could easily create Docker containers for the Db2 they need. However now the first developer started using an ARM CPU based Apple M1. We've tried multiple ways to convert / rebuild the DB2 containers for ARM but without success so far.
Can anyone advise on this? How we can get / build Docker containers for ARM based systems?
Thanks a lot in advance for your advise and have a good day - Hermann
------------------------------
Hermann Huebler
2innovate IT Consulting GmbH
Vienna
Austria
#IBMChampion
------------------------------
#CloudPakforDataGroup