Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Upgrade node.js in specific docker

Featured Replies

I'm running a docker that needs node.js updated, but the author of the docker doesn't seem to be maintaining it any more. Is there a way to upgrade node.js within the docker?

2 ways... option 2 is preferred...

1. docker execute and docker console to run package manger and commands to docker...
if the tools in the docker are there you can try and run a npm audit and npm update terminal commands via the docker console
-But this will need to be ran each time the docker starts and does things..

 

Option 1 is not recommend due to tag updates and code changes and sometime starting over due to attempts and breaking of the image...

Most docker strip or remove the package manger and other tools that can be used to leverage or break the system.


2. code and program it yourself, using the docker tag as a base for the docker image.

Find their GitHub of the project(if it exisits...) or make a docker file that pulls their current image and run the docker file commands to update and use the current docker while running your commands to update and use npm...

*most items you can Google github docker tag and find the project page for the docker in question and use docker file and docker build commands to update

 

LLM and ai can help here as well...

 

Docker docs to review on Dockerfile...
https://docs.docker.com/build/concepts/dockerfile/

https://docs.docker.com/reference/dockerfile/

 

Some example docker file for cam av / sftp I've updated and worked on with others...


alpine:
https://github.com/bmartino1/clamav-alpine/blob/master/Dockerfile
Clam av using clamdscan over clamscan...

 

Phusion / ubuntu Debian base

https://github.com/bmartino1/docker-sftp/blob/master/Dockerfile
sftp opensh server with fail2ban

 

...as usually npn are debian/ubutnu based or alpine based... different package manager and linux written as docker commands ...

 

the docker build tagname .

and test with your new tag...

 

Trial and error fixing any issues or adding script and other thing directly to the docker image...

 

Watch licenses of software when sharing... MIT and GNU Licenses are your friends to not be sued and shutdown.... give credit and acknowledge along the way helps and can save you...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.