From Fedora Project Wiki

No edit summary
No edit summary
Line 4: Line 4:
|actions=
|actions=
# Modify `storage.conf` to enable `composefs` at `/usr/share/containers/storage.conf`
# Modify `storage.conf` to enable `composefs` at `/usr/share/containers/storage.conf`
# Edit `use_composefs = "true"` and save.
# Switch to root user using `sudo sh`.
# Switch to root user using `sudo sh`.
# Reset the Podman system with `podman system reset`.
# Reset the Podman system with `podman system reset`.
# Run a container using `podman run ...`.
# Run a container using `podman run ..`.
# Run multiple containers to verify the functionality of `composefs`.
# Run multiple containers to verify the functionality of `composefs`.
|results=
|results=

Revision as of 06:22, 19 May 2024

Description

This test case ensures that the composefs filesystem is properly enabled and functions correctly in rootful mode in Podman.

Setup

Install the pre-release version of Fedora with Podman 5.1 on a bare metal system. Modify storage.conf to enable composefs.

How to test

  1. Modify storage.conf to enable composefs at /usr/share/containers/storage.conf
  2. Edit use_composefs = "true" and save.
  3. Switch to root user using sudo sh.
  4. Reset the Podman system with podman system reset.
  5. Run a container using podman run ...
  6. Run multiple containers to verify the functionality of composefs.

Expected Results

The following must be true to consider this a successful test run:

  1. composefs is correctly enabled in storage.conf.
  2. The system is reset successfully with podman system reset.
  3. Containers run successfully using podman run ....
  4. Multiple containers run without any issues, indicating that composefs is functioning correctly.

Optional

Optionally, test the performance impact of composefs when running multiple containers and compare it to other storage options.