# Detach node from a cluster in docker

**URL:** <https://discuss.elastic.co/t/detach-node-from-a-cluster-in-docker/239777>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [July 3, 2020, 10:39am UTC](https://discuss.elastic.co/t/detach-node-from-a-cluster-in-docker/239777 "2020-07-03T10:39:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterol](https://avatars.discourse-cdn.com/v4/letter/p/6a8cbe/32.png) [@peterol](https://discuss.elastic.co/u/peterol)\
**Post date:** [July 3, 2020, 10:39am UTC](https://discuss.elastic.co/t/detach-node-from-a-cluster-in-docker/239777/1 "2020-07-03T10:39:33Z")

</div>

Hello everyone!

I have a little question about the elasticsearch-node tool: Is it possible to use it in any way to detach a node from a cluster that exists in a docker container?

So far the tool throws an exception that a node cannot be detached if it is still running, which sounds reasonable. I tried shutting down the node inside the container, but it results in the container being shut down.

Thanks in advance for your answers!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 31, 2020, 10:39am UTC](https://discuss.elastic.co/t/detach-node-from-a-cluster-in-docker/239777/2 "2020-07-31T10:39:34Z")

</div>

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