You can install the developer toolkit by using Podman on Ubuntu and Windows Subsystems for Linux® version 2 (WSL 2).
Note: The developer toolkit setup using Podman is only supported for users with root
privileges.
Procedure
-
Install Podman. For more information, see Podman documentation. However, if you are not able to install
Podman by following the instructions provided in the documentation, you can install Podman by
running the following commands:
-
curl -fsSL https://download.opensuse.org/repositories/devel:kubic:libcontainers:unstable/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/devel_kubic_libcontainers_unstable.gpg > /dev/null
-
sudo apt update
-
sudo apt install podman
-
systemctl start podman.socket
- Install the Docker Compose version 2.x that is tested on 2.23.0 and 2.24 versions. For
more information about installing Docker Compose, see Overview of Docker
Compose and Install Docker Compose.
- Export Docker by running the following command:
export DOCKER_HOST='unix:///run/podman/podman.sock'
- Stop or disable any native Db2,
WebSphere Application Server, Liberty, or IBM MQ application services that are running locally.
These services might unnecessarily consume system resources and the port numbers might conflict with
the Docker Compose environment.
- On the host server, add
mqserver
as a localhost in
your /etc/hosts file.