Created
November 29, 2021 21:58
-
-
Save dberardo-com/16b21bae753f467f5058ee3f07d217d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.7" | |
volumes: | |
keys-server: | |
keys-client: | |
services: | |
ssh-server: | |
image: linuxserver/openssh-server | |
container_name: server | |
volumes: | |
- keys-server:/config/.ssh/ | |
command: sleep 100000 | |
ssh-client: | |
image: linuxserver/openssh-server | |
privileged: true #needed for test only | |
container_name: client | |
volumes: | |
- keys-client:/root/.ssh/ | |
command: sleep 100000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment