rocm-podman-create(1)

rocm-podman-create1

Rocm-podman-create

Overview

Create a container image suitable for running ROCm package autopkgtests.

IMAGE, if not specified, defaults to rocm/debian:RELEASE.

The container will have a regular (non-system) user 'user', who will be in all the necessary system groups.

Synopsis:

bin/rocm-podman-create -h

bin/rocm-podman-create [-m MIRROR] [-r RELEASE] [-u USER] [IMAGE]

Options

-h

Show this help

-m MIRROR

Download packages from here. This will be also used within the image. Ideally, this points to an APT cache on the host machine, such as apt-cacher-ng or approx.

-r RELEASE

Release (default: 'unstable') If RELEASE is 'experimental', APT sources for both 'unstable' and 'experimental' will be added to the image.

If RELEASE contains a dash, APT sources for the "basename"

will be added, e.g.: 'bookworm-backports' will include sources for 'bookworm' and 'bookworm-backports'.

Examples

# Configure the system for GPU-in-container use

$ rocm-podman-setup -u <user>

# Creates rocm/debian:unstable

$ bin/rocm-podman-create

# Same image as above, but tagged rocm/othertag

$ bin/rocm-podman-create rocm/othertag

# Creates rocm/debian:bookworm

$ bin/rocm-podman-create -m http://10.1.2.3:9999/debian -r bookworm

From rocm-podman-support 0.8.2 in Debian 13 (Trixie). Parsed by carta from the page's man source.