docker compose up:
- Parses
docker-compose.yml(Yams) with${VAR}interpolation and.envsupport. - Resolves
depends_ontopologically (includingservice_healthygating). - Creates and starts containers in dependency order.
- Writes
<service-name> <ip>entries into each container's/etc/hostsso services resolve each other by name. - Recreates containers when their config hash changes.
Supported compose keys: services, image, build, ports, volumes,
networks, environment, env_file, depends_on (with service_healthy),
healthcheck, profiles, command, entrypoint, restart, labels,
deploy.resources.limits, ${VAR} interpolation, .env.
virtiofs does not propagate inotify events into the guest, so watch tools
(Vite, webpack, nodemon, Air) never see host-side edits. Following the
Colima/Lima --mount-inotify pattern:
FSEventWatcherwatches host directories (debounced, 100ms windows).InotifyBridgemaps host paths to container paths and batches them.- A tiny guest agent (
Resources/guest-agent, built withScripts/build-guest-agent.sh)touches each file. - The Linux kernel emits inotify ATTRIB → watch tools rebuild.
Known limitations: only ATTRIB events are synthesized (no MODIFY/CREATE/ DELETE), and deletions on the host do not propagate.