Shell not working -

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

Help please

What are you trying to accomplish ?

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.

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

Look at docker exec