Node-red in docker container - apt command not found

I have node-red installed on my docker server running on ubuntu 21.10:
docker run -it -p 1880:1880 -v node_red_data:/data --name mynodered nodered/node-red

And wanted to install the imagemagick software in the same container but just discovered that the apt command is missing:

lab@docker:~$ sudo docker exec -it nodered bash
bash-5.0$ apt update
bash: apt: command not found

Can you help ?
Is it possible to have the apt command available?

The official node-red docker image runs on alpine : Running under Docker : Node-RED

Alpine uses apk instead of apt

This might help: ImageMagick installation in Docker Alpine - Stack Overflow

If you customise the image, sure.

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