Db2

 View Only
  • 1.  Is db2 docker image for Apple M1 chip available?

    Posted Thu November 03, 2022 03:48 AM
    Hi there,

    I want to install db2 docker version on my laptop. But I realize that I can not pull a compatible image.  Could you advise how can I proceed? Thanks.

    no matching manifest for linux/arm64/v8 in the manifest list entries



    ------------------------------
    KE CHEN
    ------------------------------

    #Db2


  • 2.  RE: Is db2 docker image for Apple M1 chip available?

    IBM Champion
    Posted Thu November 03, 2022 09:26 AM
    From what I understand, Db2 is not supported on the M1 chip. I know there was some internal discussion within IBM about it but I don't know what progress is made, if any. Considering Mac are heavily used for development, I can see this being a big problem if they don't address this soon.


    ------------------------------
    -----------------
    Michael Krafick (Twitter: @mkrafick)
    IBM Champion for Data and AI
    ------------------------------



  • 3.  RE: Is db2 docker image for Apple M1 chip available?

    Posted Sun November 06, 2022 12:25 PM
    Hi,
    there is a thread from January this year with a work-around
    https://community.ibm.com/community/user/hybriddatamanagement/discussion/db2-luw-115xx-mac-m1-ready#bm77e71277-b647-4220-96ca-2f4606270808

    best regards

    ------------------------------
    Jürgen Jost
    DB2 DBA (LUW / zOS)
    ------------------------------



  • 4.  RE: Is db2 docker image for Apple M1 chip available?

    Posted Sun November 06, 2022 09:48 PM
    Hi Jürgen,

    Thank you for the workaround link. It seems to work.
    1. Before pull the image, run 'export DOCKER_DEFAULT_PLATFORM=linux/amd64'
    2. Add '--platform=linux/amd64' parameter when issue 'docker run' command.


    ------------------------------
    KE CHEN
    ------------------------------



  • 5.  RE: Is db2 docker image for Apple M1 chip available?

    Posted Thu February 22, 2024 03:37 PM

    And if you are using Docker Desktop, ensure that "Use Rosetta for x86/amd64 emulation on Apple Silicon" under Settings -> General is turned off.



    ------------------------------
    Damir Murat
    ------------------------------