diff options
Diffstat (limited to 'Services/ssh')
-rw-r--r-- | Services/ssh/README.md | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/Services/ssh/README.md b/Services/ssh/README.md index 3417d98..6f73ac4 100644 --- a/Services/ssh/README.md +++ b/Services/ssh/README.md @@ -8,21 +8,25 @@ This container run sshd on fedora server. You can overwrite /root/.ssh/autorized ## Build and run from local Dockerfile ### Building docker image Copy the sources to your docker host - # mkdir startx-docker-images; - # cd startx-docker-images; - # git clone https://github.com/startxfr/docker-images.git . + + mkdir startx-docker-images; + cd startx-docker-images; + git clone https://github.com/startxfr/docker-images.git . and build the container - # docker build -t sv-ssh Services/ssh/ + + docker build -t sv-ssh Services/ssh/ ### Running local image + # docker run -d -p 22022:22 --name="ssh" sv-ssh ## Accessing server + # ssh -p 22022 root@<containerId> ## Related Resources -* [Sources files](https://github.com/startxfr/docker-images/tree/master/OS/Fedora) +* [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/ssh) * [Github STARTX profile](https://github.com/startxfr/docker-images) -* [Docker registry for this container](https://registry.hub.docker.com/u/startx/fedora/) -* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/ssh/) +* [Docker registry for this container](https://registry.hub.docker.com/u/startx/sv-ssh/) +* [Docker registry for Fedora](https://registry.hub.docker.com/u/fedora/) |