# Docker Mqtt container still present despite external config

**URL:** <https://community.gladysassistant.com/t/container-docker-mqtt-toujours-present-malgre-config-externe/9575>\
**Category:** Configuration\
**Created:** [June 11, 2025, 11:12pm UTC](https://community.gladysassistant.com/t/container-docker-mqtt-toujours-present-malgre-config-externe/9575 "2025-06-11T23:12:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [June 11, 2025, 11:12pm UTC](https://community.gladysassistant.com/t/container-docker-mqtt-toujours-present-malgre-config-externe/9575/1 "2025-06-11T23:12:23Z")

</div>

Good evening,

I don’t know if this is a bug or normal behavior but I configured the MQTT integration to use an external Mosquitto server and it works without any problem.

However I still see it appear in the list of Docker containers:

 ![image](https://gladys-assistant-community.b-cdn.net/uploads/default/original/3X/1/8/181a1a9ab3a1638ddabeb164ec8b71b688c0555b.png)

I tried restarting my Gladys server but it’s still present 😉

How can I prevent it from starting?

Thanks in advance for your help 🙂

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [June 12, 2025, 6:12am UTC](https://community.gladysassistant.com/t/container-docker-mqtt-toujours-present-malgre-config-externe/9575/2 "2025-06-12T06:12:23Z")

</div>

Hi @prohand 🙂

Out of curiosity, you had set up the MQTT integration with the internal mosquitto server before, I imagine?

Maybe switching from internal to external doesn’t clean the container 🤔

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [June 12, 2025, 6:28am UTC](https://community.gladysassistant.com/t/container-docker-mqtt-toujours-present-malgre-config-externe/9575/3 "2025-06-12T06:28:00Z")

</div>

Yes, that’s exactly it 😁

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [June 12, 2025, 6:52am UTC](https://community.gladysassistant.com/t/container-docker-mqtt-toujours-present-malgre-config-externe/9575/4 "2025-06-12T06:52:58Z")

</div>

I’ll take a look; in the meantime, if you want to clean that up on your side, you can run:

```auto
sudo docker stop eclipse-mosquitto \u0026\u0026 sudo docker rm eclipse-mosquitto

```

---

<div class="post-metadata">

**Author:** ![prohand](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/prohand/32/15713_2.png) [@prohand](https://community.gladysassistant.com/u/prohand)\
**Post date:** [June 12, 2025, 7:06am UTC](https://community.gladysassistant.com/t/container-docker-mqtt-toujours-present-malgre-config-externe/9575/5 "2025-06-12T07:06:45Z")

</div>

Thanks, the commands worked fine even after a reboot
