# Docker-compose not working while using ECS context

**URL:** <https://forums.docker.com/t/docker-compose-not-working-while-using-ecs-context/99771>\
**Category:** General\
**Tags:** aws\
**Created:** [October 18, 2020, 5:09am UTC](https://forums.docker.com/t/docker-compose-not-working-while-using-ecs-context/99771 "2020-10-18T05:09:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![coloradocolby](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/coloradocolby/32/28624_2.png) [@coloradocolby](https://forums.docker.com/u/coloradocolby)\
**Post date:** [October 18, 2020, 5:09am UTC](https://forums.docker.com/t/docker-compose-not-working-while-using-ecs-context/99771/1 "2020-10-18T05:09:45Z")

</div>

### Expected behavior

`docker-compose up` starts application in ECS

### Actual behavior

```auto
$ docker-compose up
ERROR: The platform targeted with the current context is not supported.
Make sure the context in use targets a Docker Engine.

```

### Steps to reproduce the behavior

1. I’m able to reproduce exactly when I follow the steps outlined in the documentation  
[Deprecated products and features | Docker Docs](https://docs.docker.com/engine/context/ecs-integration/)

---

<div class="post-metadata">

**Author:** ![seetasomagani](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@seetasomagani](https://forums.docker.com/u/seetasomagani)\
**Post date:** [October 20, 2020, 9:40am UTC](https://forums.docker.com/t/docker-compose-not-working-while-using-ecs-context/99771/2 "2020-10-20T09:40:09Z")

</div>

I’m seeing the same behavior -  
Docker Desktop for Mac - 2.4.0.0

---

<div class="post-metadata">

**Author:** ![bjed](https://avatars.discourse-cdn.com/v4/letter/b/2bfe46/32.png) [@bjed](https://forums.docker.com/u/bjed)\
**Post date:** [October 22, 2020, 8:05am UTC](https://forums.docker.com/t/docker-compose-not-working-while-using-ecs-context/99771/3 "2020-10-22T08:05:27Z")

</div>

Use docker compose up. Without “-”. I did the same mistake just now 🙂

---

<div class="post-metadata">

**Author:** ![seetasomagani](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@seetasomagani](https://forums.docker.com/u/seetasomagani)\
**Post date:** [October 22, 2020, 6:13pm UTC](https://forums.docker.com/t/docker-compose-not-working-while-using-ecs-context/99771/4 "2020-10-22T18:13:37Z")

</div>

That worked! Thank you
