> For the complete documentation index, see [llms.txt](https://nanoexpress.js.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nanoexpress.js.org/docker-linux.md).

# 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
