Git Product home page Git Product logo

shelter's Introduction

Shelter简介 travis任务状态

shelter 是基于 Ruby on Rails 搭建的 docker 私有镜像管理平台,和 Harbor 这样的企业级平台不同,shelter 的设计目标是非企业级应用。本项目希望摒弃复杂冗长的研发方式,以及繁琐但用处不大的功能,让中小型创业团队甚至个人也能拥有一个简单好用的 docker 私有仓库。

用户指南

准备条件

shelter本身使用docker相关技术进行交付,因此您需要确保docker daemondocker compose可用。

  • 确认docker daemon版本不低于 1.12(之前版本没有进行测试)
# docker info | grep "Server Version"
Server Version: 1.12.x
  • 确认 docker compose 版本不低于 1.8
# docker-compose -v
docker-compose version 1.8.1, build 878cff1

启用

您可以用这个脚本获得一个完整的shelter系统(假定shelter对外服务的ip为192.168.0.10)——

curl -sSL http://t.cn/R6b11S7 | SHELTER_HOST=192.168.0.10 sh

这个脚本将完成以下工作:

  • 在当前目录下生成配置文件
  • shelter所服务的主机名用SHELTER_HOST环境变量指定
  • 执行 docker-compose up -d 启动 shelter 相关服务

清除

init脚本仅在当前目录下生成配置文件,因此删除shelter也很简单(在启用init脚本的那个目录下执行)

# docker-compose down
# rm -rf config docker-compose.yml

详细的使用指南请参考 Wiki

shelter's People

Contributors

ashchan avatar fsword avatar qinix avatar zmbacker avatar

Watchers

 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.