AIStore can be run as a cluster of Docker containers. There are two modes of operation: development and quick-start. They can be found in the deploy/dev/docker directory.
This mode is currently used for development purposes. All docker containers mount the same host’s AIStore source directory, and then execute from this single source. Upon restart (of the AIStore cluster), all changes made in the host will, therefore, take an immediate effect.
The development mode is currently being maintained and updated.
Use this mode if you would like to set up a containerized, one-proxy, one-target deployment of AIStore within seconds. See quick start AIS with Docker. You just need Docker installed to quick-start AIS.
For an introduction to Docker, please watch Docker 101 youtube
Note: Using Docker requires one of the following versions of Ubuntu:
It’s OK if apt-get reports that none of these packages are installed.
Note: For version 16.04 and up, docker-ce is not in the default Ubuntu repository. See this guide for docker-ce installation.
pip. Install pip if you don’t have it:OR
There should be no docker-ce and docker-ce-cli packages listed.
If not already done, install Go and set $GOPATH environment variable.
The steps:
aisnode.aws configure command.
To run AIStore Docker containers, you will need to pass your AWS config and credential directory via flag -a=<aws directory> CLI. By default, AWS stores config and credential files in ~/.aws/
Example:Building and running “containerized” AIStore is further documented at deploy/dev/docker.
Please note: the image building process will take some time but only for the first time; subsequent runs will use already cached images.
List all of the running containers using docker ps. Many commands require the CONTAINER ID or NAME fields. Example output:

Lists all containers (not only the running ones).
To view docker logs, use docker logs <container_name>. Example:
Note:
docker psdeploy/dev/docker/ directory has a more comprehensive script named logs.sh to view logsNote:
/var/log/ais/.By default (development mode) the logs are under tmp/ais/logdeploy/dev/docker/ directory has a script named container_shell.sh that does the same thingFollowing is a super-simple presentation to showcase some of the AIS capabilities.
In Docker playground, you can find the scripts to download different popular AI datasets (e.g., MNIST and ImageNet). The datasets are downloaded with the AIS-integrated Downloader that stores all downloaded objects directly into the AIStore.
During the download, you can monitor:
In the example below, AIS downloads a handful of ImageNet images and collects/visualizes the corresponding statistics:
