# Upgrade

## Update NuLink Image Using Docker

Make sure you still hold your staking account and worker account. The update in docker is simple: stop the node, pull the latest image and restart the node.

1. Stop the running node in Docker:

   ```shell
   docker kill <container ID>
   ```

   Delete the container:

   ```shell
   docker rm <container ID>
   ```
2. Pull the latest NuLink image.

   ```shell
   docker pull nulink/nulink:latest
   ```
3. Re-launch the worker node.

   ```shell
   docker run --restart on-failure -d \
   --name ursula \
   -p 9151:9151 \
   -v /root/nulink:/code \
   -v /root/nulink:/home/circleci/.local/share/nulink \
   -e NULINK_KEYSTORE_PASSWORD \
   -e NULINK_OPERATOR_ETH_PASSWORD \
   nulink/nulink nulink ursula run --no-block-until-ready
   ```

{% hint style="info" %}
For **NULINK\_KEYSTORE\_PASSWORD** and **NULINK\_OPERATOR\_ETH\_PASSWORD** you can change with your own password or if you already save your password using environment variables you just keep it.
{% endhint %}

Source : [Official Guide](https://docs.nulink.org/products/stakers/nulink_worker/worker_update)


---

# 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.strnan.top/testnet/nulink/upgrade.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.
