---
title: "💭 Distrobox"
description: "!https://distrobox.it/usage/distrobox-host-exec/"
date: 2024-05-22
published: true
tags:
  - distrobox
  - containers
  - linux
  - thought
template: link
---


<div class="embed-card embed-card-external">
  <a href="https://distrobox.it/usage/distrobox-host-exec/" class="embed-card-link" target="_blank" rel="noopener noreferrer">
    <div class="embed-card-image">
      <img src="https://distrobox.it/assets/card.webp" alt="Distrobox — Use any linux distribution inside your terminal." loading="lazy">
    </div>
    <div class="embed-card-content">
      <div class="embed-card-title">Distrobox</div>
      <div class="embed-card-description">Use any linux distribution inside your terminal.</div>
      <div class="embed-card-meta">distrobox.it</div>
    </div>
  </a>
</div>


distrobox gives you `distrobox-host-exec` to run commands on the host. This is handy to get access to host level clis that you probably wouldn't want to run from the container like `podman`, `docker`, `flatpak`.


> DESCRIPTION
> distrobox-host-exec lets one execute command on the host, while inside of a container.
> 
> Under the hood, distrobox-host-exec uses host-spawn a project that lets us execute commands back on the host. If the tool is not found the user will be prompted to install it.

!!! note

    This post is a <a href="/thoughts/" class="wikilink" data-title="Thoughts" data-description="These are generally my thoughts on a web page or some sort of url, except a rare few don&#39;t have a link. These are dual published off of my..." data-date="2024-04-01">thought</a>. It's a short note that I make
    about someone else's content online <a href="/tags/thoughts/" class="hashtag-tag" data-tag="thoughts" data-count=2 data-reading-time=3 data-reading-time-text="3 minutes">#thoughts</a>
