From Fedora Project Wiki

Revision as of 16:26, 23 January 2022 by Alciregi (talk | contribs) (Created page with "{{QA/Test_Case |description=This test case tests whether you can create a container using a Linux distribution other than the default fedora-toolbox image (registry.fedoraproj...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This test case tests whether you can create a container using a Linux distribution other than the default fedora-toolbox image (registry.fedoraproject.org/fedora-toolbox:40) and that you can enter into it.

Setup

  1. Ensure the Package-x-generic-16.pngdistrobox package is installed

How to test

Select one of the distributions supported by distrobox: https://github.com/89luca89/distrobox/blob/main/docs/compatibility.md#containers-distros

  • Run distrobox create -i quay.io/centos/centos:stream8 -n centos-stream-8

If the container image is not already present on your system, a question asking to pull it should appear. Answer Y.

  • List the available distroboxes on your system with distrobox list or distrobox-list
  • Enter the container with distrobox enter -n centos-stream-8
  • Execute basic operations inside the container, like
    • ls -la
    • sudo whoami

Expected Results

  • If applicable, the pull from the registry is successful
  • The newly created container is listed
  • You can successfully enter into the container
  • You can run commands inside the container