Back when Ghostty released I played around with the entire config, including trying to get some shaders to work. iTerm2 has the ability to have an image background in your terminal and ghostty does not, at least not directly. I wanted to get a custom image with a shader but couldn’t get it working.
bash$ docker run --rm -it debian:stable-slim bash
que hace:
• --rm: elimina el contenedor al salir.
• -it: modo interactivo con TTY.
• bash: abre la shell (podés usar sh si preferís).
Siempre trae la última imagen:
docker run --rm -it --pull=always debian:stable-slim bash
Apple Silicon, forzar arquitectura:
docker run --rm -it --platform=linux/arm64/v8 debian:stable-slim bash
Montar tu directorio actual dentro del contenedor (para probar cosas sobre tus archivos):
docker run --rm -it -v "$PWD":/work -w /work debian:stable-slim bash
Aún más “efímero/limpio” (sin escribir al FS del contenedor):
docker run --rm -it \
--read-only \
--tmpfs /tmp \
--tmpfs /run \
-v "$PWD":/work:ro -w /work \
debian:stable-slim bash
Entrar como usuario no-root (simple):
docker run --rm -it -u $(id -u):$(id -g) -v "$PWD":/work -w /work debian:stable-slim bash
Instalar cositas:
apt-get update && apt-get install -y curl git vim htop zsh && rm -rf /var/lib/apt/lists/*
Con nombre (por si querés docker exec desde otra terminal mientras está vivo):
docker run --rm -it --name debtest debian:stable-slim bash
en otra terminal:
docker exec -it debtest bash#!/bin/bash
export NODE_ENV=production
export TURSO_URL=libsql://xx-x.aws-xx-1.turso.io
export TURSO_AUTH_TOKEN=eyJ...BCw
export JWT_SECRET=kIjoiNGQwM4NzA4YmI1MDFhIn0
export PORT=99999
pm2 start dist/index.mjs \
--name name-api \
--interpreter node \
--watch \
--ignore-watch="node_modules .git logs"