# SOMA- (Self Onboarding Mining Application) Installation on MacBooK

## **Installation of SOMA on Mac OS device**

In this document, we have demonstrated how to install Docker (a container necessary for the installation of SOMA) and then instalation of SOMA.

## Docker Installation

1\.  Search for "Docker Desktop for Mac".

Find more information about [Docker Desktop for Mac](https://docs.docker.com/docker-for-mac/install/).

![](/files/-MKlA0_XxEuRfag-Z_u0)

2\.  Click on **Get Docker**.

![](/files/-MKlB3s3pC27LzPqihGd)

3\.   Drag and drop the Docker file to Applications folder.

![](/files/-MKlBHAqLnwllod9IUYg)

4\.  Double-click and open the Docker.

![](/files/-MKlBR-fxANbHJkdZpxV)

## SOMA Installation

Once Docker is installed on your system, you can begin SOMA installation by opening the terminal in your MacBook.

1. Check whether the Docker is installed.

```
docker --version
```

2\. Install the Docker Image on your device/instance.

```
docker pull sxeshakticoin/testnet:latest
```

3\. Get the SOMA Docker Image ID.

```
docker images
```

4\. Set the path for installation.

```
pwd
```

5\. Run SOMA on your machine/instance.

```
docker run -d -p <port-number>:<port-number> --env NODE_NAME=<node-name> --mount type=bind,source=$(pwd),target=/shakti <docker-image-id>
```

{% hint style="info" %}
**Example:**  sudo docker run -p 8765:8765 -d --env NODE\_NAME=dockernode01 --mount type=bind,source=$(pwd),target=/shakti 8030aaaef48b
{% endhint %}

6\. Get the public key & unique node name for SOMA input fields.

```
cat shakticoin-poe-server.keys
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.shakticoin.com/soma-self-onboarding-mining-application-installation-on-macbook.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
