# Alexa & Docker desktop does not respond to my voice after exiting my SSH connection

**URL:** https://discourse.nodered.org/t/alexa-docker-desktop-does-not-respond-to-my-voice-after-exiting-my-ssh-connection/83984
**Category:** General
**Created:** [23 December 2023 15:33 UTC](https://discourse.nodered.org/t/alexa-docker-desktop-does-not-respond-to-my-voice-after-exiting-my-ssh-connection/83984 "2023-12-23T15:33:59Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![questuk](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/questuk/32/4059_2.png) [@questuk](https://discourse.nodered.org/u/questuk)
#### Post date: [23 December 2023 15:33 UTC](https://discourse.nodered.org/t/alexa-docker-desktop-does-not-respond-to-my-voice-after-exiting-my-ssh-connection/83984/1 "2023-12-23T15:33:59Z")

</div>

For this first test only, I am NOT using Docker. I installed NodeRED and alexa-remote2-applestrudel 5.0.48 onto a **remote Linux PC**.

I then SSH into the linux PC from my **host linux PC**. I then start NodeRED, initialise Alexa, and then it responds to my custom voice commands. Then I close the SSH connection. And it still responds to my custom voice commands !

Now I do the same as above inside of Docker desktop and again it responds to my voice custom commands. I then close the SSH connection from my host PC and then Alexa no longer responds to my voice commands ?

If I then go back into the remote PC and reinitialise Alexa, it works again until I close the SSH connection.

As a test i setup Alexa to announce " hello " every minute and even after closing the SSH connection this still kept working.

I am not an expert in Linux or Docker so it may be something I am doing wrong, but if anyone has any suggestions, that would be welcome.

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [23 December 2023 15:45 UTC](https://discourse.nodered.org/t/alexa-docker-desktop-does-not-respond-to-my-voice-after-exiting-my-ssh-connection/83984/2 "2023-12-23T15:45:17Z")

</div>

I don't know anything about Alexa and little about docker but not responding after you close the ssh connection suggests that the process has been killed since it no longer has a terminal attached.

Without docker did you use systemctl start nodered or equivalent?

And with docker, what command did you use to start nodered (and any other processes)?

---

<div class="post-metadata">

### Author: ![questuk](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/questuk/32/4059_2.png) [@questuk](https://discourse.nodered.org/u/questuk)
#### Post date: [23 December 2023 21:18 UTC](https://discourse.nodered.org/t/alexa-docker-desktop-does-not-respond-to-my-voice-after-exiting-my-ssh-connection/83984/3 "2023-12-23T21:18:53Z")

</div>

Docker 3 minute video that explains what it does [https://www.youtube.com/watch?v=Gjnup-PuquQ](https://www.youtube.com/watch?v=Gjnup-PuquQ)  
Example of Alexa intergrated with NodeRED [https://www.youtube.com/watch?v=DIV7T3NnVYU](https://www.youtube.com/watch?v=DIV7T3NnVYU)

With both of them, I open a terminal and ssh into the remote PC. I then type **x11vnc** and then open a window via **Reminna viewer** ( This way the remote PC show me it's KDE desktop which I am familiar with ).

The NodeRED that does **not use Docker,**  
I open a terminal inside of the viewer window and type ... **node-red**  
I then go to 192.168.1.68:1880 and initialise Alexa, then it works correctly.

The one that **is using Docker**  
Has NodeRED preinstalled with all my flows and an Alexa flow.  
I go to 192.168.1.68:1880 and initialise Alexa, then it behaves exactly the same as the one above and works correctly, until I close the SSH connection .

With both of them even when I have closed the SSH connection, I can open a browser on my host PC and set it's address to 192.168.1.68:1880 and both are working as expected, I can see the flows and my debug information, the only problem is Alexa not responding to my spoken command on the Docker version.

Apologies if I am not using the correct terminology.

Thanks

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [23 December 2023 21:35 UTC](https://discourse.nodered.org/t/alexa-docker-desktop-does-not-respond-to-my-voice-after-exiting-my-ssh-connection/83984/4 "2023-12-23T21:35:19Z")

</div>

> [@questuk](#):
>
> Apologies if I am not using the correct terminology.

I am sure that you are using the right terminology! And thanks for the links but I know enough about both to know I have no need for either technology. 😀

> [@questuk](#):
>
> With both of them even when I have closed the SSH connection, I can open a browser on my host PC and set it's address to 192.168.1.68:1880 and both are working as expected, I can see the flows

OK so that demonstrates that in both cases Node-red is still running.

Actually I am a bit surprised because if I ssh into a machine and run `node-red`, that Node-red instance does not survive closing the ssh connection.

Hopefully someone with Alexa knowledge can help.

---

<div class="post-metadata">

### Author: ![questuk](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/questuk/32/4059_2.png) [@questuk](https://discourse.nodered.org/u/questuk)
#### Post date: [23 December 2023 21:46 UTC](https://discourse.nodered.org/t/alexa-docker-desktop-does-not-respond-to-my-voice-after-exiting-my-ssh-connection/83984/5 "2023-12-23T21:46:17Z")

</div>

`Actually I am a bit surprised because if I ssh into a machine and run `node-red` , that Node-red instance does not survive closing the ssh connection.`

I use the x11vnc viewer, then i open the terminal in the desktop, not the ssh, just trying to help 🙂

Anyway thanks for your help much appreciated.

---

<div class="post-metadata">

### Author: ![questuk](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/questuk/32/4059_2.png) [@questuk](https://discourse.nodered.org/u/questuk)
#### Post date: [25 December 2023 07:54 UTC](https://discourse.nodered.org/t/alexa-docker-desktop-does-not-respond-to-my-voice-after-exiting-my-ssh-connection/83984/6 "2023-12-25T07:54:00Z")

</div>

Hi, I found the solution myself, open a terminal in the remote PC and type ...  
docker container start   
When I exited the SSH session, Alexa kept working 🙂

---

<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: [23 February 2024 07:54 UTC](https://discourse.nodered.org/t/alexa-docker-desktop-does-not-respond-to-my-voice-after-exiting-my-ssh-connection/83984/7 "2024-02-23T07:54:12Z")

</div>

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