# Docker-Shopware Installation nach .../system-guide/installation schlägt fehl

**URL:** <https://forum.shopware.com/t/docker-shopware-installation-nach-system-guide-installation-schlagt-fehl/70488>\
**Category:** Installation / Einstieg\
**Created:** [28. Oktober 2020 um 09:02 UTC](https://forum.shopware.com/t/docker-shopware-installation-nach-system-guide-installation-schlagt-fehl/70488 "2020-10-28T09:02:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![FragenAnsForum](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/fragenansforum/32/7849_2.png) [@FragenAnsForum](https://forum.shopware.com/u/FragenAnsForum)\
**Post date:** [28. Oktober 2020 um 09:02 UTC](https://forum.shopware.com/t/docker-shopware-installation-nach-system-guide-installation-schlagt-fehl/70488/1 "2020-10-28T09:02:30Z")

</div>

Ich versuche gerade, Shopware local zu installieren&nbsp; (nach [Installation Overview | Shopware Documentation](https://docs.shopware.com/en/shopware-platform-dev-en/system-guide/installation)), aber docker bricht ab mit folgender Fehlermeldung:

&nbsp;

> &nbsp;&nbsp; &nbsp;Changed current directory to /.composer  
> &nbsp;&nbsp; &nbsp;  
> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  
> &nbsp;&nbsp; &nbsp; &nbsp;[RuntimeException] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  
> &nbsp;&nbsp; &nbsp; &nbsp;No composer.json present in the current directory, this may be the cause of the following exception. &nbsp;  
> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  
> &nbsp;&nbsp; &nbsp;  
> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;  
> &nbsp;&nbsp; &nbsp; &nbsp;[InvalidArgumentException] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;  
> &nbsp;&nbsp; &nbsp; &nbsp;Package hirak/prestissimo at version &nbsp;has a PHP requirement incompatible with your PHP version, PHP extensions and Composer version &nbsp;  
> &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;  
> &nbsp;&nbsp; &nbsp;  
> &nbsp;&nbsp; &nbsp;require [–dev] [–dry-run] [–prefer-source] [–prefer-dist] [–fixed] [–no-suggest] [–no-progress] [–no-update] [–no-install] [–no-scripts] [–update-no-dev] [-w|–update-with-dependencies] [-W|–update-with-all-dependencies] [–with-dependencies] [–with-all-dependencies] [–ignore-platform-req IGNORE-PLATFORM-REQ] [–ignore-platform-reqs] [–prefer-stable] [–prefer-lowest] [–sort-packages] [-o|–optimize-autoloader] [-a|–classmap-authoritative] [–apcu-autoloader] [–apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [–] []…  
>   
>   
>   
>   
>   
> ERROR: for app\_server (\<service: app\_server\>, ‚The command '/bin/sh -c sed -ri -e 's!VirtualHost \_:80!VirtualHost \_:8000!g' /opt/docker/etc/httpd/vhost.conf && echo „Listen 8000“ | tee -a /etc/apache2/ports.conf && curl -sL [https://dl-ssl.google.com/linux/linux\_signing\_key.pub](https://dl-ssl.google.com/linux/linux_signing_key.pub) | apt-key add - && sh -c 'echo „deb [arch=amd64] [http://dl.google.com/linux/chrome/deb/](http://dl.google.com/linux/chrome/deb/) stable main“ \>\> /etc/apt/sources.list.d/google.list' && curl -fsSL [https://download.docker.com/linux/debian/gpg](https://download.docker.com/linux/debian/gpg) | apt-key add - && sh -c 'echo „deb [arch=amd64] [Index of linux/debian/](https://download.docker.com/linux/debian) stretch stable“ \>\> /etc/apt/sources.list.d/docker.list' && mkdir -p /usr/share/man/man1 && curl -sL [https://deb.nodesource.com/setup\_12.x](https://deb.nodesource.com/setup_12.x) | bash && mkdir -p ${NPM\_CONFIG\_CACHE} && apt-install default-mysql-client nodejs google-chrome-stable libicu-dev graphviz vim gnupg2 docker-ce=5:18.09.7~3-0~debian-stretch && npm i npm -g && npm i forever -g && chown -R ${USER\_ID}:${GROUP\_ID} ${NPM\_CONFIG\_CACHE} && ln -s /app/psh.phar /bin/psh && pecl install pcov-1.0.6 && docker-php-ext-enable pcov && composer global require hirak/prestissimo' returned a non-zero code: 1‘)  
>   
> Service ‚app\_server‘ failed to build : The command ‚/bin/sh -c sed -ri -e ‚s!VirtualHost \*:80!VirtualHost \*:8000!g‘ /opt/docker/etc/httpd/vhost.conf && echo „Listen 8000“ | tee -a /etc/apache2/ports.conf && curl -sL [https://dl-ssl.google.com/linux/linux\_signing\_key.pub](https://dl-ssl.google.com/linux/linux_signing_key.pub) | apt-key add - && sh -c ‚echo „deb [arch=amd64] [http://dl.google.com/linux/chrome/deb/](http://dl.google.com/linux/chrome/deb/) stable main“ \>\> /etc/apt/sources.list.d/google.list‘ && curl -fsSL [https://download.docker.com/linux/debian/gpg](https://download.docker.com/linux/debian/gpg) | apt-key add - && sh -c ‚echo „deb [arch=amd64] [Index of linux/debian/](https://download.docker.com/linux/debian) stretch stable“ \>\> /etc/apt/sources.list.d/docker.list‘ && mkdir -p /usr/share/man/man1 && curl -sL [https://deb.nodesource.com/setup\_12.x](https://deb.nodesource.com/setup_12.x) | bash && mkdir -p ${NPM\_CONFIG\_CACHE} && apt-install default-mysql-client nodejs google-chrome-stable libicu-dev graphviz vim gnupg2 docker-ce=5:18.09.7~3-0~debian-stretch && npm i npm -g && npm i forever -g && chown -R ${USER\_ID}:${GROUP\_ID} ${NPM\_CONFIG\_CACHE} && ln -s /app/psh.phar /bin/psh && pecl install pcov-1.0.6 && docker-php-ext-enable pcov && composer global require hirak/prestissimo‘ returned a non-zero code: 1  
>   
>   
>   
> Execution aborted, a subcommand failed!  
>   
> \</service:\>
> 
> &nbsp;

Bei Googeln bin ich auf&nbsp;[https://github.com/coopcycle/coopcycle-web/issues/1853](https://github.com/coopcycle/coopcycle-web/issues/1853)&nbsp;gestossen - aber ich glaube, es ist nicht so gut, wenn ich&nbsp;docker/php/install-composer.sh&nbsp;verändere…

Kann ich das Problem anderweitig lösen?

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![FragenAnsForum](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/fragenansforum/32/7849_2.png) [@FragenAnsForum](https://forum.shopware.com/u/FragenAnsForum)\
**Post date:** [28. Oktober 2020 um 09:26 UTC](https://forum.shopware.com/t/docker-shopware-installation-nach-system-guide-installation-schlagt-fehl/70488/2 "2020-10-28T09:26:17Z")

</div>

Lösung in anderem thread gefunden:

> **[Shopware6 und WSL2 - Einrichtung einer Entwicklungsumgebung](https://forum.shopware.com/discussion/71265/shopware6-und-wsl2-einrichtung-einer-entwicklungsumgebung#latest)**
>
> Hallo \[@Moritz Naczenski\](http://forum.shopware.com/profile/14574/Moritz Naczenski “Moritz Naczenski”)‍ ich möchte mir eine Entwicklungsumgebung über die WSL2 einrichten.  In meiner WSL2 läuft Debian - folgende Pakete habe ich dann noch...
