Docker
Requirements
Before setting up SlashDB, make sure Docker is installed on the target system.
Instructions
1. First download the SlashDB docker image provided by our team from Docker Hub.
Input the following:
docker pull slashdb/slashdb
3. Check if the image is present in your local repo by (image id may differ):
docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
slashdb latest edfc56915a4c About an hour ago 1.237 GB
4. Unzip the default SlashDB configuration files:
wget -c http://downloads.slashdb.com/latest/default-slashdb-configs.zip
unzip default-slashdb-configs.zip
5. Next, input the following to start SlashDB.
docker run -d -p 8000:80 -v /my/path/slashdb:/etc/slashdb -v /my/path/log/slashdb:/var/log/slashdb slashdb/slashdb
7. Check to see if SlashDB is running by:
docker sp
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
df3436fb8075 slashdb:0.9.21 "/bin/sh -c superviso" About a minute ago Up About a minute 0.0.0.0:8000->80/tcp bright_jennings
8. SlashDB should be accessible at http://localhost:8000.
To finish setup see: Logging in for the first time.