• Joined on 2025-07-21

socktop-webterm (0.3.12)

Published 2026-08-30 01:04:02 +00:00 by jason

Installation

docker pull gt.wittyoneoff.com/jason/socktop-webterm:0.3.12
sha256:252de8e63adfaea933702f67f9bd7fa2aaef673e1c56c7fd8e6c0d39cdfc8f62

Images

Digest OS / Arch Size
54798dd9fa linux/arm64 59 MiB

Image Layers ( linux/arm64)

# debian.sh --arch 'arm64' out/ 'trixie' '@1787529600'
ENV DEBIAN_FRONTEND=noninteractive
ENV TERM=xterm-256color
RUN /bin/sh -c apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends libssl3 ca-certificates curl gnupg2 bash procps curl && rm -rf /var/lib/apt/lists/* # buildkit
ARG SOCKTOP_VERSION=1.60.2-1
RUN |1 SOCKTOP_VERSION=1.60.2-1 /bin/sh -c curl -fsSL https://jasonwitty.github.io/socktop/KEY.gpg | gpg --dearmor -o /usr/share/keyrings/socktop-archive-keyring.gpg && echo "deb [signed-by=/usr/share/keyrings/socktop-archive-keyring.gpg] https://jasonwitty.github.io/socktop stable main" > /etc/apt/sources.list.d/socktop.list && apt-get update && apt-get install -y --no-install-recommends socktop=${SOCKTOP_VERSION} socktop-agent=${SOCKTOP_VERSION} && rm -rf /var/lib/apt/lists/* # buildkit
RUN |1 SOCKTOP_VERSION=1.60.2-1 /bin/sh -c id -u socktop &>/dev/null || useradd -m -s /bin/bash socktop && mkdir -p /home/socktop/.config/socktop && chown -R socktop:socktop /home/socktop # buildkit
RUN |1 SOCKTOP_VERSION=1.60.2-1 /bin/sh -c useradd -m -s /usr/sbin/nologin demo # buildkit
WORKDIR /app
COPY /build/target/release/webterm-server /usr/local/bin/webterm-server # buildkit
COPY /build/templates ./templates # buildkit
COPY /build/static ./static # buildkit
RUN |1 SOCKTOP_VERSION=1.60.2-1 /bin/sh -c ls -la ./static/docs/ && test -f ./static/docs/index.html || echo "WARNING: Documentation not found in static/docs" # buildkit
COPY /build/node_modules ./node_modules # buildkit
COPY docker/entrypoint.sh /entrypoint.sh # buildkit
COPY docker/init-config.sh /init-config.sh # buildkit
COPY docker/restricted-shell.sh /usr/local/bin/restricted-shell.sh # buildkit
COPY docker/session-shell.sh /usr/local/bin/session-shell.sh # buildkit
RUN |1 SOCKTOP_VERSION=1.60.2-1 /bin/sh -c chmod +x /entrypoint.sh /init-config.sh /usr/local/bin/restricted-shell.sh /usr/local/bin/session-shell.sh # buildkit
EXPOSE [3001/tcp 8082/tcp]
HEALTHCHECK {Test:[CMD-SHELL curl -f http://localhost:8082/ || exit 1] Interval:30s Timeout:3s StartPeriod:5s StartInterval:0s Retries:3}
RUN |1 SOCKTOP_VERSION=1.60.2-1 /bin/sh -c ln -sf /entrypoint.sh /docker-entrypoint.sh # buildkit
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["webterm-server" "--host" "0.0.0.0" "--port" "8082" "--command" "/usr/local/bin/session-shell.sh"]
Details
Container
2026-08-30 01:04:02 +00:00
3
OCI / Docker
Versions (17) View all
buildcache 2026-08-30
latest 2026-08-30
0.3.12 2026-08-30
0.3.11 2026-08-24
0.3.10 2026-08-24