GithubHelp home page GithubHelp logo

docker-sftp's Introduction

aptible/sftp

Docker Repository on Quay.io

OpenSSH-based SFTP on Docker.

Installation

docker pull quay.io/aptible/sftp

This is an image conforming to the Aptible database specification. To run a server for development purposes, execute

docker create --name data quay.io/aptible/sftp
docker run --volumes-from data -e USERNAME=aptible -e PASSPHRASE=pass quay.io/aptible/sftp --initialize
docker run --volumes-from data -P quay.io/aptible/sftp

The first command sets up a data container named data which will hold the configuration and data for the database. The second command creates an SFTP instance with an administrator username and passphrase of your choice. The third command starts the database server.

Usage

The service is designed to run with an initial, password-protected admin user. Additional users can be provisioned at any time by calling add-sftp-user with a username and SSH public key.

For example, given the admin user aptible, one might run:

ssh -p <docker-port> aptible@<docker-host>
add-sftp-user regular-user <ssh-pubkey>

Available Tags

  • latest: Currently OpenSSH 6.6.1p1

Tests

Tests are run as part of the Dockerfile build. To execute them separately within a container, run:

bats test

Deploying Images To Quay

To push the Docker image to Quay, run the following command:

make release

Copyright and License

MIT License, see LICENSE for details.

Copyright (c) 2015 Aptible and contributors.

@fancyremarker

docker-sftp's People

Contributors

jbergknoff avatar

Watchers

James Cloos avatar Thomas Orozco avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.