# NuLink Worker Installation

NuLink worker node can be run from a docker container.

## Docker install and update

1. Install [Docker Engine](https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository)
2. Pull the latest NuLink image.

   ```shell
   docker pull nulink/nulink:latest
   ```
3. Create a directory in your host machine for later usage.

   ```shell
   cd /root

   mkdir nulink
   ```
4. Copy the keystore file of the Worker account to the host directory selected in step 3. The private file generated by NuLink Worker will also be stored in this directory.

   ```shell
   cp /root/geth-linux-amd64-1.10.23-d901d853/keystore/* /root/nulink
   ```

   **Please ensure that this directory has 777 permissions**:

   ```shell
   chmod -R 777 /root/nulink
   ```


---

# 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.nulink.org/products/stakers/nulink_worker/worker_install.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.
