speed up deployment: building a distributed docker registry at scale

Post on 11-Apr-2017

183 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Speed Up Deployment: Building A Distributed Docker Registry At Scale

Jared HocuttSoftware Engineer @ NetApp

What time is it?

What is the Docker Registry?“The Registry is a stateless, highly scalable server side application that stores and lets you distribute Docker images.”

Basic Setup

Basic Setup

What happens when you need to scale?

6

Scaling Globally

?

Scaling Globally

Scaling Globally

SnapMirror

Scaling Globally

Scaling Globallylocation / { proxy_pass http://remote-registry:5000; # All methods excluding GET because GET automatically assumes HEAD, # which still needs to go to the master registry limit_except HEAD POST PUT DELETE COPY MOVE OPTIONS PATCH { proxy_pass http://master-registry:5000; }}

Full nginx configuration can be found at https://docs.docker.com/registry/nginx/Sample project at https://github.com/jaredhocutt/docker-distributed-registry

More InformationDetails on this and other NetApp open source technology, visit:

http://netapp.github.io/

Thank you!Jared Hocutt@jaredhocuttjaredh@netapp.com

top related