Files
oam/knowledge base/toolbox.md
2023-12-29 22:52:10 +01:00

1.1 KiB

Toolbox

Runs on top of Podman.

Table of contents

  1. TL;DR
  2. Further readings
  3. Sources

TL;DR

# List locally available images and containers.
toolbox list
toolbox list -c

# Download an OCI image and create a container from it.
toolbox create
toolbox create -d rhel -r 8.1
toolbox create -i registry.fedoraproject.org/fedora-toolbox:35 fedora

# Run a command inside the container without entering it.
toolbox run ls -la
toolbox run -d rhel -r 8.1 uptime
toolbox-run -c fedora cat /etc/os-release

# Get a shell inside the container.
toolbox enter
toolbox enter -d fedora -r f35
toolbox enter rhel

# Remove a container.
toolbox rm fedora-toolbox-35

# Remove an image.
toolbox rmi fedora-toolbox:35
toolbox rmi -af

Further readings

Sources