Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Sep 30, 2023. It is now read-only.
/docker-sshPublic archive

An SSHd service in a container for my remote dev :)

License

NotificationsYou must be signed in to change notification settings

LedoKun/docker-ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repository provides a Dockerfile and associated files to create a Docker container running a remote SSH server. The objective of this Docker image is to facilitate the setup of a secure SSH server environment for remote access to a containerized environment.

Features

  • Base Image: The Dockerfile is based onphusion/baseimage:0.11, which provides a minimal, but complete, Ubuntu-based image for running applications within containers.
  • Customization: The Dockerfile allows for customization by specifying environment variables, enabling non-interactive mode, and setting the locale toen_US.UTF-8.
  • Volume Mounting: It supports volume mounting to/home/project, allowing users to easily map host directories or data volumes into the container.
  • SSH Server: The Docker image sets up and runs an SSH server, making it accessible for remote SSH connections.

Usage

To use this Docker image and run a remote SSH server inside a container, follow these steps:

  • Clone this repo
  • Build the Docker Image: docker build -t ssh-server .
  • Run the Docker Container: docker run -d -p 2222:22 --name my-ssh-server ssh-server

About

An SSHd service in a container for my remote dev :)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp