23
Docker volume plugins and Infinit mefyl [email protected] Version 1.2-17-ge8d207f

Docker volume plugins and Infinit – Mini-conf Docker Paris #1

  • Upload
    infinit

  • View
    363

  • Download
    0

Embed Size (px)

Citation preview

Docker volume plugins and Infinit

[email protected]

Version 1.2-17-ge8d207f

www.princexml.com
Prince - Non-commercial License
This document was created with Prince, a great way of getting web content onto paper.

The need for Docker volumes

Docker is awesome to get isolated, predictable environments:

The need for Docker volumes

Docker is awesome to get isolated, predictable environments:

• Build and test your project deterministically.

The need for Docker volumes

Docker is awesome to get isolated, predictable environments:

• Build and test your project deterministically.• Run your project in a deterministic production environment.

The need for Docker volumes

Docker is awesome to get isolated, predictable environments:

• Build and test your project deterministically.• Run your project in a deterministic production environment.

This greatness arises from two properties:

• Deterministic initial state.• No side effects - get a fresh start every time.

The need for Docker volumes

Docker is awesome to get isolated, predictable environments:

• Build and test your project deterministically.• Run your project in a deterministic production environment.

This greatness arises from two properties:

• Deterministic initial state.• No side effects - get a fresh start every time.

This makes Docker a purpuree environment.

The need for Docker volumes

Pureness is great the vast majority of time, but it can be a burden too - justlike with code.

The need for Docker volumes

Pureness is great the vast majority of time, but it can be a burden too - justlike with code.

• A deterministic build is great, provided you can somehow get your builtfiles.

The need for Docker volumes

Pureness is great the vast majority of time, but it can be a burden too - justlike with code.

• A deterministic build is great, provided you can somehow get your builtfiles.

• A deterministic production environment is great, provided you don'trequire any local state.

The need for Docker volumes

Pureness is great the vast majority of time, but it can be a burden too - justlike with code.

• A deterministic build is great, provided you can somehow get your builtfiles.

• A deterministic production environment is great, provided you don'trequire any local state.

This is the price of Docker's reproducibility guarantees.

The need for Docker volumes

Docker volumes enable you to alter initial container state and persist statebetween containers.

The need for Docker volumes

Docker volumes enable you to alter initial container state and persist statebetween containers.

As a consequence:

• We can solve our previous issues.• We are breaking the determinism guarantees!

The need for Docker volumes

Docker volumes enable you to alter initial container state and persist statebetween containers.

As a consequence:

• We can solve our previous issues.• We are breaking the determinism guarantees!

Volumes introduce statefullness, the enemy of reproducibility. Use with careand bound their scope.

Using Docker volumes to persiststate

Hands on!

Beyond the local host boundaries

Persisting data locally is useful, but there's more.

Infinit filesystem

InfinitInfinit is a peer-to-peer, scalable, reliable, secure filefile ststororageage platfplatformorm thatrelies on the aggregation of various storage resources (local disk, NAS, SAN,cloud, etc.) on top of which POSIX-compliant file systems can be created.

Infinit filesystem

• Filesystem in the POSIXPOSIX sense of the term.◦ Works with any client, unmodified.◦ Fine grained semantic (e.g: video streaming).◦ Well featured (e.g: file locking).

Infinit filesystem

• Filesystem in the POSIXPOSIX sense of the term.◦ Works with any client, unmodified.◦ Fine grained semantic (e.g: video streaming).◦ Well featured (e.g: file locking).

• PPeereer-t-too-peer distribut-peer distributeded: no computer has any specific authority or role.◦ Availability: no SPOF, network failure resilient.◦ Scalability and flexibility.

Infinit filesystem

• Filesystem in the POSIXPOSIX sense of the term.◦ Works with any client, unmodified.◦ Fine grained semantic (e.g: video streaming).◦ Well featured (e.g: file locking).

• PPeereer-t-too-peer distribut-peer distributeded: no computer has any specific authority or role.◦ Availability: no SPOF, network failure resilient.◦ Scalability and flexibility.

• BByyzzantineantine: you do not need to trust other computers in any way.◦ No omnipotent admins.◦ Support untrusted networks, both faulty and malicious peers.

Infinit's architecture

Infinit CLI

Infinit provides a set of ccommand-lineommand-line ttoolsools allowing any sysadmin, devop ordeveloper to create storage infrastructure in a matter of minutes betweenyour bare metal machines, VMs or containers.

Infinit Docker volume plugin

Demo!

Questions?

GeGet the wt the worord as soon as the Dockd as soon as the Docker ver volume plugin is rolume plugin is released:eleased:

http://bit.ly/infinit-docker-miniconf