Skip to content

A minimal configuration to set up a docker instance with SSH access.

License

Notifications You must be signed in to change notification settings

bartsolutions/docker-ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A minimal configuration to set up a docker with SSH access

How to Use:

  1. Install docker:
  1. Install docker-compose:
  • curl -L https://github.com/docker/compose/releases/download/1.8.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
  • chmod +x /usr/local/bin/docker-compose
  • ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
  1. Modify SSH password in Dockerfile
  2. Run docker instance: docker-compose up -d
  3. Log into server: ssh root@localhost -p 2022

About

A minimal configuration to set up a docker instance with SSH access.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published