Skip to content

Latest commit

 

History

History
12 lines (12 loc) · 659 Bytes

Readme.md

File metadata and controls

12 lines (12 loc) · 659 Bytes

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