# sh: 1: docker-compose: not found - Execution aborted, a subcommand failed! - shopware docker -  

**URL:** <https://forum.shopware.com/t/sh-1-docker-compose-not-found-execution-aborted-a-subcommand-failed-shopware-docker/51561>\
**Category:** Installation/Einstieg\
**Created:** [5. März 2018 um 21:20 UTC](https://forum.shopware.com/t/sh-1-docker-compose-not-found-execution-aborted-a-subcommand-failed-shopware-docker/51561 "2018-03-05T21:20:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ppeter](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@ppeter](https://forum.shopware.com/u/ppeter)\
**Post date:** [5. März 2018 um 21:20 UTC](https://forum.shopware.com/t/sh-1-docker-compose-not-found-execution-aborted-a-subcommand-failed-shopware-docker/51561/1 "2018-03-05T21:20:22Z")

</div>

**Hello!**

i have this error

sh: 1: docker-compose: not found

did anyone know why?

thx

Peter

&nbsp;

**Starting Execution of ‘docker:start’** (‘dev-ops/docker/actions/start.sh’)

&nbsp;

&nbsp;

(1/6) Starting

**\> echo "COMPOSE\_PROJECT\_NAME: ${COMPOSE\_PROJECT\_NAME}"**

&nbsp;&nbsp; &nbsp;COMPOSE\_PROJECT\_NAME:&nbsp;

&nbsp;&nbsp; &nbsp;

(2/6) Starting

**\> dev-ops/docker/containers/scriptcreator.sh**

&nbsp;&nbsp; &nbsp;Created /root/shopware-docker/dev-ops/docker/containers/php7/createuser.sh

&nbsp;&nbsp; &nbsp;Created /root/shopware-docker/dev-ops/docker/containers/mysql/createuser.sh

&nbsp;&nbsp; &nbsp;

(3/6) Starting

**\> docker-compose build && docker-compose up -d**

&nbsp;&nbsp; &nbsp;sh: 1: docker-compose: not found

&nbsp;&nbsp; &nbsp;

**Execution aborted, a subcommand failed!**

---

<div class="post-metadata">

**Author:** ![Thomas](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/thomas/32/8167_2.png) [@Thomas](https://forum.shopware.com/u/Thomas)\
**Post date:** [6. März 2018 um 07:15 UTC](https://forum.shopware.com/t/sh-1-docker-compose-not-found-execution-aborted-a-subcommand-failed-shopware-docker/51561/2 "2018-03-06T07:15:13Z")

</div>

Have you installed docker-compose?

---

<div class="post-metadata">

**Author:** ![ppeter](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@ppeter](https://forum.shopware.com/u/ppeter)\
**Post date:** [6. März 2018 um 07:22 UTC](https://forum.shopware.com/t/sh-1-docker-compose-not-found-execution-aborted-a-subcommand-failed-shopware-docker/51561/3 "2018-03-06T07:22:31Z")

</div>

Hi, i take that steps here&nbsp;

> **[shopwareLabs/shopware-docker](https://github.com/shopwareLabs/shopware-docker)**
>
> A docker setup ready for shopware development. Contribute to shopwareLabs/shopware-docker development by creating an account on GitHub.

&nbsp;

how did i do that?

thx

Peter

---

<div class="post-metadata">

**Author:** ![Thomas](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/thomas/32/8167_2.png) [@Thomas](https://forum.shopware.com/u/Thomas)\
**Post date:** [6. März 2018 um 07:29 UTC](https://forum.shopware.com/t/sh-1-docker-compose-not-found-execution-aborted-a-subcommand-failed-shopware-docker/51561/4 "2018-03-06T07:29:58Z")

</div>

Did you read this?&nbsp;[Install Docker Compose | Docker Documentation](https://docs.docker.com/compose/install/)

---

<div class="post-metadata">

**Author:** ![ppeter](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@ppeter](https://forum.shopware.com/u/ppeter)\
**Post date:** [6. März 2018 um 08:05 UTC](https://forum.shopware.com/t/sh-1-docker-compose-not-found-execution-aborted-a-subcommand-failed-shopware-docker/51561/5 "2018-03-06T08:05:32Z")

</div>

Hi!

&nbsp;

ok now i know

apt install docker-compose

i will test and come back

thx

Peter

---

<div class="post-metadata">

**Author:** ![ppeter](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@ppeter](https://forum.shopware.com/u/ppeter)\
**Post date:** [6. März 2018 um 08:07 UTC](https://forum.shopware.com/t/sh-1-docker-compose-not-found-execution-aborted-a-subcommand-failed-shopware-docker/51561/6 "2018-03-06T08:07:08Z")

</div>

what should i choose

&nbsp;

Configuration file ‘/etc/default/docker’

&nbsp;==\> Modified (by you or by a script) since installation.

&nbsp;==\> Package distributor has shipped an updated version.

&nbsp;&nbsp; What would you like to do about it ?&nbsp; Your options are:

&nbsp; &nbsp; Y or I&nbsp; : install the package maintainer’s version

&nbsp; &nbsp; N or O&nbsp; : keep your currently-installed version

&nbsp; &nbsp; &nbsp; D &nbsp; &nbsp; : show the differences between the versions

&nbsp; &nbsp; &nbsp; Z &nbsp; &nbsp; : start a shell to examine the situation

&nbsp;The default action is to keep your current version.

\*\*\* docker (Y/I/N/O/D/Z) [default=N] ?&nbsp;

&nbsp;

\*\*\* docker (Y/I/N/O/D/Z) [default=N] ? D

&nbsp;

Progress: [91%] [######################################################…]&nbsp;

— /etc/default/docker 2018-03-05 09:36:23.719377993 +0100

+++ /etc/default/docker.dpkg-new&nbsp; &nbsp; &nbsp; &nbsp; 2017-05-04 23:36:17.000000000 +0200

@@ -1,9 +1,20 @@

-# This file is managed by Puppet and local changes

-# may be overwritten

+# Docker Upstart and SysVinit configuration file

&nbsp;

-OPTIONS=" -H unix:///var/run/docker.sock --ip-forward=true --iptables=true --ip-masq=true"

+#

+# THIS FILE DOES NOT APPLY TO SYSTEMD

+#

+# &nbsp; Please see the documentation for “systemd drop-ins”:

+# &nbsp; [Redirecting…](https://docs.docker.com/engine/admin/systemd/)

+#

&nbsp;

+# Customize location of Docker binary (especially for development testing).

+#DOCKERD="/usr/local/bin/dockerd"

&nbsp;

+# Use DOCKER\_OPTS to modify the daemon startup options.

+#DOCKER\_OPTS="–dns 8.8.8.8 --dns 8.8.4.4"

- 

+# If you need Docker to use an HTTP proxy, it can also be specified here.

+#export http\_proxy=“[http://127.0.0.1:3128/](http://127.0.0.1:3128/)”

&nbsp;

&nbsp;# This is also a handy place to tweak where Docker’s temporary files go.

-# TMPDIR="/tmp/"

+#export DOCKER\_TMPDIR="/mnt/bigdrive/docker-tmp"

**~**

**~**

**~**

**~**

**~**

**~**

**~**

**~**

**~**

**~**

**~**

**~**

**~**

**~**

**~**

**~**

(END

---

<div class="post-metadata">

**Author:** ![ppeter](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@ppeter](https://forum.shopware.com/u/ppeter)\
**Post date:** [6. März 2018 um 09:11 UTC](https://forum.shopware.com/t/sh-1-docker-compose-not-found-execution-aborted-a-subcommand-failed-shopware-docker/51561/7 "2018-03-06T09:11:30Z")

</div>

i choose&nbsp;

&nbsp;

Y or I&nbsp; : install the package maintainer’s version

---

<div class="post-metadata">

**Author:** ![ppeter](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@ppeter](https://forum.shopware.com/u/ppeter)\
**Post date:** [6. März 2018 um 09:16 UTC](https://forum.shopware.com/t/sh-1-docker-compose-not-found-execution-aborted-a-subcommand-failed-shopware-docker/51561/8 "2018-03-06T09:16:46Z")

</div>

thank you done

&nbsp;

(4/6) Starting

**\> wait**

&nbsp;&nbsp; &nbsp;

(5/6) Starting

**\> echo "All containers started successfully"**

&nbsp;&nbsp; &nbsp;All containers started successfully

&nbsp;&nbsp; &nbsp;

(6/6) Starting

**\> echo "Web server IP: [http://10.100.111.46](http://10.100.111.46)"**

&nbsp;&nbsp; &nbsp;Web server IP: [http://10.100.111.46](http://10.100.111.46)

&nbsp;&nbsp; &nbsp;

**Duration: 9m 17s**

**All commands successfully executed!**

---

<div class="post-metadata">

**Author:** ![ppeter](https://avatars.discourse-cdn.com/v4/letter/p/c0e974/32.png) [@ppeter](https://forum.shopware.com/u/ppeter)\
**Post date:** [6. März 2018 um 09:24 UTC](https://forum.shopware.com/t/sh-1-docker-compose-not-found-execution-aborted-a-subcommand-failed-shopware-docker/51561/9 "2018-03-06T09:24:52Z")

</div>

next problem

execute&nbsp;

root@vps18066:~/shopware-docker# ./psh.phar docker:ssh

&nbsp;

what is missing?

&nbsp;

thx

&nbsp;

&nbsp;

**###################**

**Starting Execution of ‘docker:ssh’** (‘dev-ops/docker/actions/ssh.sh’)

&nbsp;

&nbsp;

(1/1) Starting

**\> docker exec -i -u 0:0 -t c44a5ecc13555573c168e01be1806461dc88ce7565f421221d0b419c65d33867 bash**

&nbsp;&nbsp; &nbsp;Error response from daemon: Container c44a5ecc13555573c168e01be1806461dc88ce7565f421221d0b419c65d33867 is not running

&nbsp;

**Execution aborted, a subcommand failed!**
