You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting started with TerrabaseDB is easy 😊 (and fun!).</span>
9
+
Getting started with TerrabaseDB is easy 😊 (and fun!). You can get started with [native binaries (recommended)](#get-started-with-bundles) or by using the [docker image](#get-started-with-docker).
10
10
11
-
## Steps
11
+
## Get started with bundles
12
12
13
13
### Step 1: Download a bundle
14
14
@@ -31,4 +31,56 @@ In the directory where you extracted the files, run `./tdb` on *nix systems or s
31
31
`tsh` is the shell that is shipped with the bundle. Run it, just like you did with the database server. Now enter commands in the shell, and have fun! First run `HEYA` to check if everything is fine - the server should reply with _HEY!_.
32
32
See all the available actions [here](/List-Of-Actions)
33
33
34
-
You're done with setting up `tdb` 🎉!
34
+
You're done with setting up `tdb` 🎉!
35
+
36
+
## Get started with Docker
37
+
38
+
First of all, you need to have Docker installed and available on your `PATH` ; you can read the official guide [here](https://docs.docker.com/get-docker/). Once you've got Docker up and running, follow the steps!
39
+
40
+
### Step 0: Create a container
41
+
42
+
Open up a terminal and run:
43
+
44
+
```
45
+
docker create terrabasedb/tdb --name tdbvm
46
+
```
47
+
48
+
> **NOTE:** You may need superuser priveleges
49
+
50
+
At the same time, you'll need to set up the bundle by following [Step 1](#step-1-download-a-bundle) and [Step 2](#step-2-make-the-files-runnable) from the previous section.
51
+
52
+
### Step 1: Start the container
53
+
54
+
Now run:
55
+
56
+
```
57
+
docker start tdbvm
58
+
```
59
+
60
+
> **NOTE:** You may need superuser priveleges
61
+
62
+
### Step 2: Find the IP address of the container
63
+
64
+
In order to connect to the container (which, to `tsh` is nothing but a remote server), you'll have to run:
0 commit comments