Giter Club home page Giter Club logo

harbor-test-setup4macpoc's Introduction

archiving - just use the helm chart https://github.com/goharbor/harbor-helm on a local kubs of your choice.

harbor-test-setup4MacPOC

Creates a POC version of vmWare Harbor on Mac

Purpose

Easily spin up harbor with clair installed (sorry no notary) on a Mac

Prereq

  • Python 2.7
  • Docker and Docker-Compose (Tested on edge 18.04-ce and 1.21 respectively)
  • Internet access
  • Nothing running on 80,443 and 4443

How To

Simply clone the repo https://github.com/doughoke/harbor-test-setup4MacPOC.git

git clone https://github.com/doughoke/harbor-test-setup4MacPOC.git
./installAndConfigureHarbor_POC_onMac.sh

Notes

  • Don't fret when you see "WARNING: no logs are available with the 'syslog' log driver" in you terminal THERE IS NOTHING WRONG!!! vmware team made a logging server that listens to your logs

  • Look for logs in dev/var/log/harbor

  • access http://localhost/harbor from cloned location

  • I like to use tail -f * and watch all the logs fly by when debugging

Login with

value
user admin
passowrd Harbor12345

To Test

Login to the repository docker login docker tag SOURCE_IMAGE[:TAG] /library/IMAGE[:TAG] docker push /library/IMAGE[:TAG]

When You Are DONE

Simply clean up

docker-compose -f ./harbor/docker-compose.clair.yml -f ./harbor/docker-compose.yml down

or call ./cleanUpHarbor_POC_onMac.sh

TO-DO

create a test project automatically with clair enabled and pull sample images (some good and some bad) to prove clair integrations with harbor. create a script to shut down harbor and clean up all directories.

harbor-test-setup4macpoc's People

Contributors

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