# Docker-compose up -d fails

**URL:** <https://forums.docker.com/t/docker-compose-up-d-fails/116318>\
**Category:** Docker Desktop\
**Tags:** build, docker-compose, macos\
**Created:** [October 12, 2021, 1:10pm UTC](https://forums.docker.com/t/docker-compose-up-d-fails/116318 "2021-10-12T13:10:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sali026](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@sali026](https://forums.docker.com/u/sali026)\
**Post date:** [October 12, 2021, 1:10pm UTC](https://forums.docker.com/t/docker-compose-up-d-fails/116318/1 "2021-10-12T13:10:19Z")

</div>

I am unable to successfully rebuild my local. I am using the following command

`docker-compose up -d` which fails to complete.

during the `docker-compose up -d` I noticed cli Error so I ran `docker-compose up -d --build cli` which was also not successful as shown below.

 ![docker-erro](https://global.discourse-cdn.com/docker/original/3X/f/a/fa530fcaf56db25816d51cb6762cb049903fa6ea.jpeg)

My colleagues are able to rebuild without any issues and I too have been able to do so in the past. I am on the latest version of Docker 4.1.0 and macOS Big Sur 11.6

I am at a loss and not sure how to proceed. I have created a new directory, cloned from git, pruned but the build continues to fail.

Any help would be greatly appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![terpz](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/terpz/32/36125_2.png) [@terpz](https://forums.docker.com/u/terpz)\
**Post date:** [October 13, 2021, 8:24am UTC](https://forums.docker.com/t/docker-compose-up-d-fails/116318/2 "2021-10-13T08:24:40Z")

</div>

If its a private repo, you need to use “docker login” first

---

<div class="post-metadata">

**Author:** ![sali026](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@sali026](https://forums.docker.com/u/sali026)\
**Post date:** [October 13, 2021, 8:44am UTC](https://forums.docker.com/t/docker-compose-up-d-fails/116318/3 "2021-10-13T08:44:49Z")

</div>

Thanks @terpz. I have never had to do that before but will try.
