aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2026-07-01 22:35:54 +0200
committerNicholas Rodrigues Lordello <[email protected]>2026-07-01 22:55:29 +0200
commitd07d395b09ec1a87677712e7b50ac520495ed573 (patch)
treeafe49d6d9f006deb54608f1a30fdff3348767f30 /README.md
parent224bbea0cd08efd3d85623c8a60883306cc4d008 (diff)
Port `dbx` To Use `container machine`
With `container` v1, a new `machine` subcommand was introduced in order to support long-lived machines. Port the `dbx` utility to use `container machine` instead of using regular containers. The main motivation for this is: - `container machine`s are more elastic; when they are stopped their containers are removed entirely (which is different to a container that is stopped, but not removed) - `container machine`s can modify settings (such as CPU and memory limits) after creation, allowing for the machine to change over time as needed Overall, the structure stays largely the same as before; the main difference being how initialization is done (since `container machine` has built-in support for initializing a user with passwordless `sudo`). Note we explicitly set `--home-mount=none` in order to keep the same filesystem isolation guarantees that existed before (files can be copied with `scp`; there is no `container cp` analogy for machines). One notable difference is network management. `container machine`s are assigned their own virtual network device and get a completely separate IP to the host (which is different than before where container ports were being published to the host). I do not know which one is more secure...
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index a7d1faa..bb7d6ab 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
# Containerized Development Environments
-`dbx` is a set of scripts for managing a local containerized development environment. It works by creating a long-lived container named `dbx` that that has no access to the host where you can install various developer tools and dependencies without losing sleep at night. It uses Apple `container` tool, which creates a dedicated virtual machine for the `dbx` container, providing increased isolation and security. The host connects to the container via SSH, which allows any development tools with remote editing capabilities to be used (such as Emacs, Zed or Visual Studio Code).
+`dbx` is a set of scripts for managing a local containerized development environment. It works by creating a long-lived container machine named `dbx` that that has no access to the host where you can install various developer tools and dependencies without losing sleep at night. It uses Apple `container` tool, which creates a dedicated virtual machine for the `dbx` container machine, providing increased isolation and security. The host connects to the container via SSH, which allows any development tools with remote editing capabilities to be used (such as Emacs, Zed or Visual Studio Code).
At its core, it is similar to Toolbx and Distrobox, but with improved isolation and security. In general, it does not try to create a convenient container that is seamlessly integrated with the host, but rather a restricted sandbox where you can install development CLI tools, and reduce `npm install` risk.