s2aio is a script that installs Swift and Storlets all on one. The script allows to do the installation either on the host where it is invoked or in a Docker container.
To install on the host:
Make sure to have a user that can sudo without a password. With that user just do:
sudo apt-get update sudo apt-get install python-tox python-nose git git clone https://github.com/openstack/storlets.git cd storlets ./s2aio.sh dev host
To install in a Docker container follow the same steps, replacing the last command with:
./s2aio dev docker
If you do not have Docker installed on your host, the above script will install it and set docker to use “vfs” as the docker storage driver (instead of the default “aufs” storage driver). If you already have Docker installed, you may need to change its storage driver to “vfs”. The created Docker container runs yet another container. Running Docker in Docker may require the usage of the “vfs” storage device.