Insufficient space ... in Docker container running Node-Red

I am running Node-Red in a Docker container with mapped data volumes to an Azure Storage Account.

I am able to deploy Node-Red to an ACI, and having the deployed flow saved, using Azure File Share as a mapped Docker volume. Using Docker Integration Azure CLI I did it using a command like:

docker run -p 1880:1880 -v demobundlestorageaccount/nr-test-volume:/data --domainname iotdemobundle --name noderedinstance nodered/node-red

using the demobundlestorageaccount storage acount with the file share nr-test-volume in it.

The Node-Red instance then runs as intended on port 1880.

The problem occurs when I try to download dashboard nodes using the Palette Manager.

When trying to install node-red-dashboard, the install chews away and then returns an error.

It seems like the node/container/x is lacking memory, which is weird since the max ACI size is 15 GB (as I understand it). This is part of the log:

2020-12-22T23:34:51.318Z [err] nospc
2020-12-22T23:34:51.318Z [err] ENOTSUP: operation not supported on socket, symlink '../mime/cli.js' -> '/data/node_modules/.bin/mime'
2020-12-22T23:34:51.318Z [err] npm
2020-12-22T23:34:51.318Z [err]
2020-12-22T23:34:51.318Z [err] ERR!
2020-12-22T23:34:51.318Z [err]
2020-12-22T23:34:51.318Z [err] nospc
2020-12-22T23:34:51.319Z [err] There appears to be insufficient space on your system to finish.
2020-12-22T23:34:51.319Z [err] npm
2020-12-22T23:34:51.319Z [err]
2020-12-22T23:34:51.319Z [err] ERR!
2020-12-22T23:34:51.319Z [err]
2020-12-22T23:34:51.319Z [err] nospc
2020-12-22T23:34:51.319Z [err] Clear up some disk space and try again.
2020-12-22T23:34:51.420Z [err]
2020-12-22T23:34:51.420Z [err] npm
2020-12-22T23:34:51.421Z [err]
2020-12-22T23:34:51.421Z [err] ERR!
2020-12-22T23:34:51.421Z [err] A complete log of this run can be found in:
2020-12-22T23:34:51.421Z [err] npm
2020-12-22T23:34:51.421Z [err]
2020-12-22T23:34:51.421Z [err] ERR!
2020-12-22T23:34:51.421Z [err] /data/.npm/_logs/2020-12-22T23_34_51_322Z-debug.log
2020-12-22T23:34:51.429Z rc=161

Do you have any idea on why this occurs and how to remedy it?

Grateful for all comments on the matter.

/Tobias

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.