@@ -58,7 +58,12 @@ switch $argv[1]
5858 # Forward the host terminal type: the runtime strips $TERM down to a
5959 # bare "xterm", so pass the real value as HOST_TERM for the fish init to
6060 # recover (see prompt.fish) — TUIs need the matching terminfo entry.
61− container create --name $name --ssh -it -e "HOST_TERM=$TERM" --memory 8g --cwd /workspace $mounts $argv $image
61+ #
62+ # The image only lays down /bin and /etc, so /tmp and /run don't exist;
63+ # without them anything that writes temp files (zellij, build tools, …)
64+ # fails with ENOENT. Mount writable tmpfs at both.
65+ container create --name $name --ssh -it -e "HOST_TERM=$TERM" \
66+ --tmpfs /tmp --tmpfs /run --memory 8g --cwd /workspace $mounts $argv $image
6267 case start
6368 # Boot the container detached (its PID1 fish keeps it alive), then attach
6469 # an interactive shell with `exec -it`. `container start -ai` has no `-t`