Giter Site home page Giter Site logo

harbor's Introduction

Harbor - 轻量级本地Docker管理平台

CodeQL Quality Gate Status

Reliability Rating Maintainability Rating Security Rating Bugs Vulnerabilities

Harbor 是一个轻量级的本地 Docker 管理平台, 加快了单机服务的交付速度, 简化后续的运维工作.

功能

  • 引擎: 查看引擎信息、监听引擎守护线程事件
  • 容器: 容器启停控制、日志查看、Web终端、资源统计、端口快捷跳转
  • 镜像: 构建信息查看、镜像拉取与删除
  • 网络: 网络创建编辑、容器接入
  • 存储卷: 创建编辑与删除
  • 监控: 引擎下线、容器启停、突发负载、资源耗尽等监控
  • 用户: 账号密码登陆、OAuth2登陆

特性

  • 体积小: 程序本体小于 30 MB
  • 部署快: 提供一键脚本快速部署
  • 开销低: 内存占用仅 ≈ 30 MB

安装

请复制下方命令到服务器终端中执行, 脚本提供了 Harbor 的安装、卸载与开启自启设置服务

bash -c "$(curl -fsSL https://skye-z.github.io/harbor/install.sh)"

安装完成后将会自动运行, 首次运行 Harbor 会自动生成管理账户, 密码将输出在日志中, 如下所示:

2024/01/01 00:00:00 [Tips] create default admin, password is ..........

控制

# 启动 Harbor
systemctl start harbor
# 停止 Harbor
systemctl stop harbor
# 查看 Harbor 状态与日志
systemctl status harbor

构建

CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o harbor -ldflags '-s -w'

harbor's People

Contributors

dependabot[bot] avatar skye-z avatar

Stargazers

 avatar  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.