Openssh-Server; Build of centos:cenos7.
311
Support Architecture
arm64(arm64v8) ✅
x86-64(amd64) ✅
How To Used
Docker Run
docker run -d \
--name sshd_container \
-v /path/to/authorized_keys:/root/.ssh/authorized_keys \
-v /path/to/sshd_config:/etc/ssh/sshd_config \
-p 22222:22 \
pikaqiuuu/openssh-server
Docker-compose
services:
openssh-server:
image: pikaqiuuu/openssh-server
container_name: openssh-server
volumes:
- /path/to/authorized_keys:/root/.ssh/authorized_keys
- /path/to/sshd_config:/etc/ssh/sshd_config
ports:
- "22222:22"
Content type
Image
Digest
sha256:7e7a5f513…
Size
159.3 MB
Last updated
over 2 years ago
docker pull pikaqiuuu/openssh-server