@@ -382,6 +382,14 @@ This tool assumes Node-RED is available at the following address
382382
383383Refreshing the browser page should now reveal the newly added node in the palette.
384384
385+ ### Node-RED Commands from the host
386+
387+ Admin commands can also be accessed without installing npm or the
388+ node-red-admin tool on the host machine. Simply prepend your command
389+ with "npx" and apply it to the container - e.g
390+
391+ $ docker exec -it mynodered npx node-red admin hash-pw
392+
385393### Container Shell
386394
387395 $ docker exec -it mynodered /bin/bash
@@ -513,7 +521,9 @@ Let's dissect both commands:
513521
514522## Common Issues and Hints
515523
516- Here is a list of common issues users have reported with possible solutions.
524+ Here is a list of common issues users have reported with possible solutions.
525+
526+ <br >
517527
518528### User Permission Errors
519529
@@ -526,11 +536,13 @@ If you are seeing *permission denied* errors opening files or accessing host dev
526536docker run -it -p 1880:1880 --name mynodered -u root nodered/node-red
527537```
528538
529- References:
539+ __ References:__
540+
541+ https://github.com/node-red/node-red/issues/15
530542
531- https://github.com/node-red/node-red/issues/15
543+ https://github.com/node-red/node-red/issues/8
532544
533- https://github.com/node-red/node-red/issues/8
545+ < br >
534546
535547### Accessing Host Devices
536548
@@ -539,8 +551,11 @@ If you want to access a device from the host inside the container, e.g. serial p
539551```
540552docker run -it -p 1880:1880 --name mynodered --device=/dev/ttyACM0 nodered/node-red
541553```
542- References:
543- https://github.com/node-red/node-red/issues/15
554+ __ References:__
555+
556+ https://github.com/node-red/node-red/issues/15
557+
558+ <br >
544559
545560### Setting Timezone
546561
@@ -550,5 +565,8 @@ If you want to modify the default timezone, use the TZ environment variable with
550565docker run -it -p 1880:1880 --name mynodered -e TZ=Europe/London nodered/node-red
551566```
552567
553- References:
554- https://groups.google.com/forum/#!topic/node-red/ieo5IVFAo2o
568+ __ References:__
569+
570+ https://groups.google.com/forum/#!topic/node-red/ieo5IVFAo2o
571+
572+ <br >
0 commit comments