13
Speed Up Deployment: Building A Distributed Docker Registry At Scale Jared Hocutt Software Engineer @ NetApp

Speed Up Deployment: Building A Distributed Docker Registry At Scale

Embed Size (px)

Citation preview

Page 1: Speed Up Deployment: Building A Distributed Docker Registry At Scale

Speed Up Deployment: Building A Distributed Docker Registry At Scale

Jared HocuttSoftware Engineer @ NetApp

Page 2: Speed Up Deployment: Building A Distributed Docker Registry At Scale

What time is it?

Page 3: Speed Up Deployment: Building A Distributed Docker Registry At Scale

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

Page 4: Speed Up Deployment: Building A Distributed Docker Registry At Scale

Basic Setup

Page 5: Speed Up Deployment: Building A Distributed Docker Registry At Scale

Basic Setup

Page 6: Speed Up Deployment: Building A Distributed Docker Registry At Scale

What happens when you need to scale?

6

Page 7: Speed Up Deployment: Building A Distributed Docker Registry At Scale

Scaling Globally

?

Page 8: Speed Up Deployment: Building A Distributed Docker Registry At Scale

Scaling Globally

Page 9: Speed Up Deployment: Building A Distributed Docker Registry At Scale

Scaling Globally

Page 10: Speed Up Deployment: Building A Distributed Docker Registry At Scale

SnapMirror

Scaling Globally

Page 11: Speed Up Deployment: Building A Distributed Docker Registry At Scale

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

Page 12: Speed Up Deployment: Building A Distributed Docker Registry At Scale

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

http://netapp.github.io/

Page 13: Speed Up Deployment: Building A Distributed Docker Registry At Scale

Thank you!Jared Hocutt@[email protected]