<p>For now, it seems like Polar does not support the new v2 docker compose. A workaround can be to install the old docker-compose too.</p>
<pre><code>sudo curl -L &quot;https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)&quot; -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

docker-compose --version
</code></pre>

CC BY-SA 4.0
2023-05-18T19:30:55.383Z
2023-05-18T19:30:55.383Z
Amin Bashiri
<p>In recent versions of Docker Compose we no longer have the <code>docker-compose</code> command instead we use <code>docker compose</code> (mind the space instead of dash) but Polar does not understand this.</p>
<p><strong>To Reproduce</strong></p>
<p>Steps to reproduce the behavior:</p>
<ol>
<li>Remove old versions of docker-compose</li>
<li>Install the most recent version of docker compose</li>
<li>The command <code>docker compose version</code> should work properly but <code>docker-compose version</code> should result in an error</li>
<li>Install Polar</li>
<li>You'll see this error on the startup</li>
</ol>
<pre><code>Docker Compose  Not Found
{&quot;errno&quot;:-2,&quot;code&quot;:&quot;ENOENT&quot;,&quot;syscall&quot;:&quot;spawn docker-compose&quot;,&quot;path&quot;:&quot;docker-compose&quot;,&quot;spawnargs&quot;:[&quot;version&quot;,&quot;--short&quot;]}
</code></pre>
<p>Expected behavior:</p>
<p>Polar should also try <code>docker compose</code> and be compatible with recent versions of docker compose.</p>
<p><strong>Screenshots</strong>
<img src="https://github.com/jamaljsr/polar/assets/44639270/c6e2a633-548a-4cb9-a456-c097c5fb0b2b" alt="Screenshot from 2023-05-18 13-17-14" /></p>

CC BY-SA 4.0
2023-05-23T22:56:03.803Z
Hello! This stack exchange is probably not the relevant place to post your bug report. If you have a general question relating to Bitcoin or Lightning relevant to this application that you want to post, please do. But for now you should submit your post above to the Polar issues page: https://github.com/jamaljsr/polar/issues
Poseidon
CC BY-SA 4.0
2023-05-23T22:56:48.043Z
Question relates to a bug in a specific application, directed OP to their issues page on Github
Poseidon
<lightning-network>
Polar docker compose not found v2
Amin Bashiri
# Polar docker compose not found v2

(Asked by: username_0 on 2023-05-18)

In recent versions of Docker Compose we no longer have the `docker-compose` command instead we use `docker compose` (mind the space instead of dash) but Polar does not understand this.

**To Reproduce**

Steps to reproduce the behavior:

1. Remove old versions of docker-compose
2. Install the most recent version of docker compose
3. The command `docker compose version` should work properly but `docker-compose version` should result in an error
4. Install Polar
5. You'll see this error on the startup

```
Docker Compose  Not Found
{"errno":-2,"code":"ENOENT","syscall":"spawn docker-compose","path":"docker-compose","spawnargs":["version","--short"]}

```

Expected behavior:

Polar should also try `docker compose` and be compatible with recent versions of docker compose.

**Screenshots**
![Screenshot from 2023-05-18 13-17-14](https://github.com/jamaljsr/polar/assets/44639270/c6e2a633-548a-4cb9-a456-c097c5fb0b2b)

**Tags:** lightning-network

> **Comments:**
> **username_1**: Hello! This stack exchange is probably not the relevant place to post your bug report. If you have a general question relating to Bitcoin or Lightning relevant to this application that you want to post, please do. But for now you should submit your post above to the Polar issues page: https://github.com/jamaljsr/polar/issues  
> **username_1**: Question relates to a bug in a specific application, directed OP to their issues page on Github  

---

## 1 answers

### Answer by username_0 on 2023-05-18. Score: 1 | Accepted answer

For now, it seems like Polar does not support the new v2 docker compose. A workaround can be to install the old docker-compose too.

```
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

docker-compose --version

```


---

