Skip to main content

ENV_HOST_ALIAS

Constant ENV_HOST_ALIAS 

Source
pub const ENV_HOST_ALIAS: &str = "MSB_HOST_ALIAS";
Expand description

Environment variable carrying the DNS name the guest uses to reach the sandbox host (Docker’s host.docker.internal equivalent).

The host-side network stack emits this value via its guest_env_vars() method; agentd reads it into crate::exec-adjacent boot params and writes the mapping into /etc/hosts. The value the network stack emits is a fixed protocol constant — today always host.microsandbox.internal.