# Docker / Linux

{% hint style="info" %}
If you use **alpine** or **slim** version of **node** images, some errors may happen and you can fix with this minimal guide
{% endhint %}

### For `git` missing error

```
# FROM ...
RUN apk add --no-cache git
# your scripts
```

### For `Alpine` incompatible error

```
# your scripts
RUN ln -s /lib/libc.musl-x86_64.so.1 /lib/ld-linux-x86-64.so.2

# your commands
# CMD ["node", "server.js"]
```

### For CentOS 7 `glibc 2.18` not found error

First, please try

```
# FROM ...
RUN apk add --no-cache gcompat
# your scripts
```

or try

```
# FROM ...
RUN apk add --no-cache libc6-compat
RUN mv /lib64/ld-linux-x86-64.so.2 /lib
# your scripts
```

{% hint style="info" %}
If these solutions didn't work, try solutions from [here](https://serverfault.com/a/894689) and [here](https://serverfault.com/a/980302)
{% endhint %}

### Multi-thread / Cluster

Clustering is available on **Linux**, if your OS isn't Linux, you can try **Docker** as it works on **Docker Linux** container


---

# 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://nanoexpress.js.org/docker-linux.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.
