removed tmux as default, back to bash

This commit is contained in:
code
2026-07-15 19:21:07 +00:00
parent c3432b2df4
commit 06931ace00
2 changed files with 8 additions and 3 deletions
+1
View File
@@ -17,6 +17,7 @@ RUN pacman -Sy --noconfirm archlinux-keyring && \
npm \
openssh \
php \
php-sqlite \
pwgen \
python \
redis \
+7 -3
View File
@@ -18,7 +18,7 @@ Commands:
config, configure Interactive wizard to write .env with your settings
build Build the container image (always --no-cache --pull)
start Start (or create) the container
connect Start the container if needed, then attach a tmux session
connect Start the container if needed, then attach a bash shell
remove, stop, rm Stop and remove the container
help Show this message
EOF
@@ -114,9 +114,13 @@ cmd_start() {
cmd_connect() {
# The container exits on its own once the main tmux session ends (see
# entrypoint.sh) and isn't auto-restarted, so make sure it's up before
# exec'ing in — a no-op if it's already running.
# exec'ing in — a no-op if it's already running. Plain bash rather than
# tmux here: when this container runs on a remote host, the caller is
# typically already inside a tmux session locally, and nesting tmux in
# tmux is annoying. tmux itself stays installed and available — run
# `tmux` manually inside the container if you want it.
docker start "$NAME" >/dev/null
docker exec -it "$NAME" tmux
docker exec -it "$NAME" bash
}
cmd_remove() {