# Running Percona XtraDB Cluster in a multi-host Docker network

**URL:** https://forums.percona.com/t/running-percona-xtradb-cluster-in-a-multi-host-docker-network/5314
**Category:** Percona XtraDB Cluster 5.x
**Created:** [December 21, 2016, 3:39pm UTC](https://forums.percona.com/t/running-percona-xtradb-cluster-in-a-multi-host-docker-network/5314 "2016-12-21T15:39:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Roman\_Cherepanov](https://avatars.discourse-cdn.com/v4/letter/r/4491bb/32.png) [@Roman\_Cherepanov](https://forums.percona.com/u/Roman_Cherepanov)
#### Post date: [December 21, 2016, 3:39pm UTC](https://forums.percona.com/t/running-percona-xtradb-cluster-in-a-multi-host-docker-network/5314/1 "2016-12-21T15:39:25Z")

</div>

Hello! I try to run Percona XtraDB Cluster in Docker like in this [blog post](https://www.percona.com/blog/2016/06/10/percona-xtradb-cluster-in-a-multi-host-docker-network/). But when I try to run second node I get errors in container logs:

```auto
2016-12-21T15:35:56.691657Z 0 [ERROR] WSREP: gcs/src/gcs_core.cpp:gcs_core_open():208: Failed to open backend connection: -131 (State not recoverable)
2016-12-21T15:35:56.691821Z 0 [ERROR] WSREP: gcs/src/gcs.cpp:gcs_open():1407: Failed to open channel ‘cluster1’ at ‘gcomm://10.0.0.3,10.0.0.3’: -131 (State not recoverable)
2016-12-21T15:35:56.691849Z 0 [ERROR] WSREP: gcs connect failed: State not recoverable
2016-12-21T15:35:56.691861Z 0 [ERROR] WSREP: wsrep::connect(gcomm://10.0.0.3,10.0.0.3) failed: 7
2016-12-21T15:35:56.691866Z 0 [ERROR] Aborting

```

As I understand, new node tries to connect to nodes with IP 10.0.0.3,10.0.0.3 , but I have only one node and its IP is not 10.0.0.3. How can I connect to master node without this error?

---

<div class="post-metadata">

### Author: ![Kenn\_Takara](https://avatars.discourse-cdn.com/v4/letter/k/b2d939/32.png) [@Kenn\_Takara](https://forums.percona.com/u/Kenn_Takara)
#### Post date: [January 16, 2017, 4:51am UTC](https://forums.percona.com/t/running-percona-xtradb-cluster-in-a-multi-host-docker-network/5314/2 "2017-01-16T04:51:28Z")

</div>

How are you starting up the second node? From the example, you’d have to use the etcd discovery service or pass the IP address of the first node via the CLUSTER\_JOIN variable.
