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

Hello!

i have this error

sh: 1: docker-compose: not found

did anyone know why?

thx

Peter

 

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

 

 

(1/6) Starting

> echo "COMPOSE_PROJECT_NAME: ${COMPOSE_PROJECT_NAME}"

    COMPOSE_PROJECT_NAME: 

    

(2/6) Starting

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

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

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

    

(3/6) Starting

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

    sh: 1: docker-compose: not found

    

Execution aborted, a subcommand failed!

Have you installed docker-compose?

Hi, i take that steps here 

 

how did i do that?

thx

Peter

Did you read this? Install Docker Compose | Docker Documentation

Hi!

 

ok now i know

apt install docker-compose

i will test and come back

thx

Peter

what should i choose

 

Configuration file ‘/etc/default/docker’

 ==> Modified (by you or by a script) since installation.

 ==> Package distributor has shipped an updated version.

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

    Y or I  : install the package maintainer’s version

    N or O  : keep your currently-installed version

      D     : show the differences between the versions

      Z     : start a shell to examine the situation

 The default action is to keep your current version.

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

 

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

 

Progress: [91%] [######################################################…] 

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

+++ /etc/default/docker.dpkg-new        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

 

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

+#

+# THIS FILE DOES NOT APPLY TO SYSTEMD

+#

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

+#   Redirecting…

+#

 

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

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

 

+# 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/

 

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

-# TMPDIR="/tmp/"

+#export DOCKER_TMPDIR="/mnt/bigdrive/docker-tmp"

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

~

(END

i choose 

 

Y or I  : install the package maintainer’s version

thank you done

 

(4/6) Starting

> wait

    

(5/6) Starting

> echo "All containers started successfully"

    All containers started successfully

    

(6/6) Starting

> echo "Web server IP: http://10.100.111.46"

    Web server IP: http://10.100.111.46

    

Duration: 9m 17s

All commands successfully executed!

next problem

execute 

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

 

what is missing?

 

thx

 

 

###################

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

 

 

(1/1) Starting

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

    Error response from daemon: Container c44a5ecc13555573c168e01be1806461dc88ce7565f421221d0b419c65d33867 is not running

 

Execution aborted, a subcommand failed!