GitHub: https://github.com/reverie89/alpine-ssh
This is an automated build for reverie89/alpine-ssh.
Checks daily for updates to the LinuxServer Alpine Docker base image.
docker-compose.yaml
services:
alpine-ssh:
image: reverie89/alpine-ssh
container_name: alpine-ssh
restart: always
environment:
- ROOT_PASSWORD=example-password
- DOCKER_MODS=ghcr.io/tailscale-dev/docker-mod:main
- TAILSCALE_STATE_DIR=/var/lib/tailscale
- TAILSCALE_HOSTNAME=yourmachine-hostname-here
- TAILSCALE_USE_SSH=1
- TAILSCALE_AUTHKEY=xxxxxxx
ports:
- 2222:22
volumes:
- /path/to/tailscale-state:/var/lib/tailscale
- /path/to/config:/etc/ssh
- /path/to/authorized_keys:/root/.ssh
- /path/to/container:/path/to/container
ROOT_PASSWORD env if you are accessing with password./etc/ssh and /root/.ssh for data persistence. Edit sshd_config accordingly, then restart container to take effect.docker exec {container_name} ssh-keygen -A if you need to generate a key.docker exec -it {container_name} /bin/sh.Content type
Image
Digest
sha256:a401b3ab6…
Size
18.4 MB
Last updated
6 days ago
docker pull reverie89/alpine-ssh:3.24