8000 GitHub - castelenl/alpine-ssh: This repository can be used for development/learning and RnD purpose for alpine-ssh running inside the docker container
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

This repository can be used for development/learning and RnD purpose for alpine-ssh running inside the docker container

License

Notifications You must be signed in to change notification settings

castelenl/alpine-ssh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alpine-ssh

FOSSA Status

Docker Pulls

A minimal Docker image based on Alpine Linux with a complete package index and only 5 MB in size!

I have prepared this Dockerfile to enable SSH on the alpine docker container. That is completely working good. The above Dockerfile has root enabled in the ssh server as well as run ssh on the time of docker container creation.

How to build this Dockerfile.

$ docker build --build-arg PASSWORD=passowrd -t arvindr226/alpine-ssh -f Dockerfile .

How to run the docker container with ssh ?

I have exposed the port 22 in the Dockerfile. You can use the below command to run the docker container.

$ docker run -d -p 2222:22 arvindr226/alpine-ssh

To connect the docker container via ssh.

ssh root@localhost -p 2222

Use Password: password

via Gotechnies

License

FOSSA Status

About

This repository can be used for development/learning and RnD purpose for alpine-ssh running inside the docker container

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%
0