Db2

 View Only

Db2 Community Edition has moved from DockerHub to IBM Container Registry

By VIJAYA KATIKIREDDY posted Sat February 04, 2023 01:33 PM

  

Dear Db2 Users,

Db2 Community edition (non-production) docker container is moving out of DockerHub and will be serviced out of IBM Container Registry (ICR).
If you are pulling the container image from docker.io/ibmcom/db2, you should switch to pulling from  icr.io/db2_community/db2 as soon as possible as the repository docker.io/ibmcom/db2 will be removed in the very near future.

docker pull icr.io/db2_community/db2


IBM Documentation has been updated to point to the new pull location - https://www.ibm.com/docs/en/db2/11.5?topic=deployments-db2-community-edition-docker

Thank you.

6 comments
52 views

Permalink

Comments

Tue October 17, 2023 10:44 AM

IS there a place to see the tags for new icr.io?  I don't always want the latest

Wed February 08, 2023 10:13 AM

@Lisa Waugh It looks like you're using a MacBook with the M1 or M2 chip on it. While we're still working on it, we currently we don't support the arm architecture at the moment, but there's a workaround ​by setting this env variable: 
export DOCKER_DEFAULT_PLATFORM=linux/amd64​​

and retrying the pull. This will pull the amd architecture image, and then all you have to do is add 

--platform=linux/amd64


to the `docker run` command you'd usually do. Here's the complete discussion about this issue: https://community.ibm.com/community/user/datamanagement/communities/community-home/digestviewer/viewthread?MessageKey=40f07bd1-19f6-42b5-800b-168cdfed175b&CommunityKey=ea909850-39ea-4ac4-9512-8e2eb37ea09a&bm=40f07bd1-19f6-42b5-800b-168cdfed175b#bm40f07bd1-19f6-42b5-800b-168cdfed175b

Tue February 07, 2023 08:41 PM

When I try to pull from the new location, I receive an error:

docker pull icr.io/db2_community/db2
Using default tag: latest
latest: Pulling from db2_community/db2
no matching manifest for linux/arm64/v8 in the manifest list entries

Tue February 07, 2023 05:50 PM

For now, the only public place where this is documented is IBM Knowledge Center.  However, I will pursue other venues, that are easily accessible.

Tue February 07, 2023 10:43 AM

Are there new public-facing pages that provide the equivalent to https://hub.docker.com/r/ibmcom/db2 ?  The page on Dockerhub lists available tags, provides documentation for the image and instructions for starting it up, etc. 

The new pages in the IBM documentation mentioned above are devoid of any of this information.

Tue February 07, 2023 09:17 AM

Can I ask what the logic was to move out of DockerHub? That would be the first place I would look. Why bring it internally?