# Shell not working -

**URL:** <https://discourse.nodered.org/t/shell-not-working/72287>\
**Category:** General\
**Tags:** docker\
**Created:** [15 December 2022 23:10 UTC](https://discourse.nodered.org/t/shell-not-working/72287 "2022-12-15T23:10:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wimphot](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wimphot/32/72676_2.png) [@wimphot](https://discourse.nodered.org/u/wimphot)\
**Post date:** [15 December 2022 23:10 UTC](https://discourse.nodered.org/t/shell-not-working/72287/1 "2022-12-15T23:10:52Z")

</div>

Hi All  
Running Node-red docker on Pi4.  
Start with:  
\<docker run -it -p 1880:1880 -v myNodeREDdata:/data --name mynodered nodered/node-red\>  
but  
docker attach mynodered  
takes me to a new line where I can ’type’ commands but nothing happens when I hit return.  
\<ctrl+p & ctrl+q gives\>  
"read escape sequence"  
and  
docker ps  
gives  
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES  
0c9f0066fa7f nodered/node-red "./entrypoint.sh" 5 hours ago Up 5 hours (healthy) 0.0.0.0:1880-\>1880/tcp, :::1880-\>1880/tcp mynodered

Help please

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [16 December 2022 06:55 UTC](https://discourse.nodered.org/t/shell-not-working/72287/2 "2022-12-16T06:55:18Z")

</div>

> Help please

What are you trying to accomplish ?

---

<div class="post-metadata">

**Author:** ![wimphot](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wimphot/32/72676_2.png) [@wimphot](https://discourse.nodered.org/u/wimphot)\
**Post date:** [16 December 2022 12:48 UTC](https://discourse.nodered.org/t/shell-not-working/72287/3 "2022-12-16T12:48:15Z")

</div>

I am returning to this after a gap of nearly 2 yrs although having said that I did not get very far last time round but whichever way you look at it am a Noob!  
I need to set an SSL cert so I can access Node-red - over LAN -  
(I think SSL standards have changed since 2021)  
My understanding is that this is done from within the Node-red container using bash CLI.

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [16 December 2022 20:32 UTC](https://discourse.nodered.org/t/shell-not-working/72287/4 "2022-12-16T20:32:13Z")

</div>

Docker attach doesn't do what you think it does...

Look at `docker exec`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [14 February 2023 20:32 UTC](https://discourse.nodered.org/t/shell-not-working/72287/5 "2023-02-14T20:32:54Z")

</div>

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