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
2. 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
3. Unzip the default SlashDB configuration files:
wget -c https://downloads.slashdb.com/latest/default-slashdb-configs.zip
unzip default-slashdb-configs.zip
4. 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
5. 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
6. SlashDB should be accessible at http://localhost:8000.
9. To finish setup see: