Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

I personally devoted effort on Docker Images which makes it easy to develop in Docker containers.

Toolbx / DistroBox share similarities with my effort on Docker images. Of course, Toolbx / DistroBox are superior in many ways.

I’ve migrated those Docker images to leverage Podman + Toolbx. See more discussions in My Podman Container Images .

General Tips

  1. Since the home directory is shared between the host and the container, binaries under the home directory (e.g., ~/.local/bin/) will be available in the container as well. They might just work inside the container. For example, if you have Claude CLI installed on the host machine (under ~/.local/bin), you will be able to use it inside the container as well without installing it again inside the container.

Different Ways of Running Commands Insdie the Container

Table 1:Toolbox Command Comparison

Command

What it does

Best Used For

toolbox enter

Drops you into an interactive shell inside the container.

Active development, installing packages, or exploring the environment.

toolbox run

Runs a single command inside a container, creating/starting it automatically if needed.

One-off scripts, CI/CD automation, or running an app without “entering”.

toolbox exec

Runs a single command inside an already running container (lower-level native podman wrapper).

Background automation or scripts where you know the container is already active.

Toolbox

https://github.com/containers/toolbox

toolbox create --distro ubuntu --release 24.04

DistroBox

https://github.com/ranfdev/DistroShelf

https://distrobox.it/#quick-start