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
- Modify
storage.conf
to enablecomposefs
at/usr/share/containers/storage.conf
- Edit
use_composefs = "true"
and save. - Switch to root user using
sudo sh
. - Reset the Podman system with
podman system reset
. - Run a container using
podman run ..
. - Run multiple containers to verify the functionality of
composefs
.
Expected Results
The following must be true to consider this a successful test run:
composefs
is correctly enabled instorage.conf
.- The system is reset successfully with
podman system reset
. - Containers run successfully using
podman run ...
. - 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.