Skip to content

Atomic: Docker Storage

andreasn edited this page Aug 28, 2014 · 30 revisions

Managing Docker storage is an important feature for Atomic.

Notes:

Tasks:

  • Grow var/lib/docker quota 💥
  • Create storage pool 💥
  • Detach storage permanently 💥
  • Allocate storage from pool
  • Detach storage for re-use 💥
  • Container Quotas
  • Monitor storage utilization

Stories:

Need to build the user stories and workflows that will drive design.

User stories:

Robert works at a small IT shop. For one reason or another, he got tossed the sysadmin hat at the company. They have a server running Atomic, acting as a samba file server (perhaps running this https://registry.hub.docker.com/u/svendowideit/samba/). If the container is running short on space, he needs to know sooner than later.

Peter works at a company where they have a machine running Atomic and 5 main services served by containers. The server has 4 disks set up in a pool. The five main services are: Database server, AD server, Print server, Web server, Owncloud. There have been complains that the database data transfer is not fast enough. Peter identified the bottleneck is not in the network, but in the spinning hard drive. He therefore wants to add a SSD disk to the machine and use that as the storage for the database container instead.

David is a freelance web developer. He's using docker a lot under Atomic to develop different websites for his customers. The default size of 8.5Gb is getting way too small for him. His hard drive has the space, but he needs to allocate it to Atomic.

Workflows::

Clone this wiki locally