Installieren Sie den Komponisten WSL

install composer wsl:

RUN curl -sS https://getcomposer.org/installer | php \
            && mv composer.phar /usr/local/bin/ \
            && ln -s /usr/local/bin/composer.phar /usr/local/bin/composer
Xabos