Setting up a Swift cluster using a Dockerfile

A Dockerfile is a text document that contains all the commands you normally execute manually in order to build a Docker image. By calling Docker build from your terminal, you can have Docker build your image step by step, executing the instructions successively.

Download the Swift proxy and storage Dockerfile and related files. Vedams has provided a Git repository for all Dockerfiles and files related to Swift. Download the repository using this command:

git clone https://github.com/vedams-docker/swift-with-docker.git

Creating a proxy container using a Dockerfile

First of all, we need an image to create the proxy container. Here, we will use a Dockerfile to create the image.

Create a folder on the host ...

Get OpenStack Object Storage (Swift) Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.