Installing developer toolkit using Podman on Ubuntu

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

  1. 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:
    1. 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
    2. sudo apt update
    3. sudo apt install podman
    4. systemctl start podman.socket
  2. 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.
  3. Export Docker by running the following command:
    export DOCKER_HOST='unix:///run/podman/podman.sock'
  4. 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.
  5. On the host server, add mqserver as a localhost in your /etc/hosts file.