Skip to content

zyan03/pirate

Repository files navigation

Pirate

Introduction

It will be moved to tobegit3hub/pirate to stay with tobegit3hub/seagull

Everybody wants Web UI for docker and pirate is the most suitable one for you. It's super easy to install with one command. You can know everything about your images and containers in this single page application. Now English, simplified Chinese and traditional Chinese are perfectly supported!

Welcome to watch the three-minute presentation or go to the demo website.

Usage

  • Run

docker run -d -p 5000:5000 --name registry registry docker run -d -p 9527:9527 -v /var/run/docker.sock:/var/run/docker.sock --link registry:registry larrycai/pirate

  • Then monitor your docker daemon in http://127.0.0.1:9527.
  • For boot2docker users, please run boot2docker ip to find out the real IP.

Testing

Fill images into registry to show how it works

docker tag hello-world localhost:5000/hello-world docker tag hello-world localhost:5000/hello-world:1.0 docker tag hello-world localhost:5000/larrycai/hello-world docker push localhost:5000/hello-world docker push localhost:5000/hello-world:1.0 docker push localhost:5000/larrycai/hello-world

Screenshot

Get Involved

Pirate is implemented in Go and JavaScript with tools like Beego, AngularJS, Bootstrap, Bower, JQuery and Docker. You can fork the repository and send pull-request as you want.

  • Setup go path and try echo $GOPATH
  • go get github.com/astaxie/beego
  • go get github.com/beego/bee
  • go get github.com/larrycai/pirate
  • bee run seagull for dubuging
  • or ./pirate or sudo ./pirate to access /var/run/docker.sock

More detail in seagull-design-and-implement and we have excellent documents in docs.

Notice

The issue #2 shows that everyone can access your docker daemon if the IP and port of seagull are exposed. For security, you can bind localhost or 127.0.0.1 to restrict to access seagull locally.

Then run docker run -d -p 127.0.0.1:9527:9527 -v /var/run/docker.sock:/var/run/docker.sock larrycai/pirate.

About

web GUI for private docker registry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published