Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2815

laravel sail won't install or start. same goes with composer update

$
0
0

I've git cloned a project. my project from github.

the files are correct, checked them up.
On my pc I use sail and it works. however, it fails on my new station.

sail up (or build) raises this error:

[+] Running 0/1⠿ laravel.test Warning                                                                                            0.1s[+] Building 76.5s (8/15) => [internal] load build definition from Dockerfile                                                               0.0s => => transferring dockerfile: 32B                                                                                0.0s => [internal] load .dockerignore                                                                                  0.1s => => transferring context: 2B                                                                                    0.0s => [internal] load metadata for docker.io/library/ubuntu:22.04                                                    0.8s => [internal] load build context                                                                                  0.1s => => transferring context: 99B                                                                                   0.0s => [ 1/11] FROM docker.io/library/ubuntu:22.04@sha256:27cxxxxxxxxxxxxxxxxxxxxxxxf3f928  0.0s => CACHED [ 2/11] WORKDIR /var/www/html                                                                           0.0s => CACHED [ 3/11] RUN ln -snf /usr/share/zoneinfo/UTC /etc/localtime && echo UTC > /etc/timezone                  0.0s => ERROR [ 4/11] RUN apt-get update     && apt-get install -y gnupg gosu curl ca-certificates zip unzip git sup  75.5s------> [ 4/11] RUN apt-get update     && apt-get install -y gnupg gosu curl ca-certificates zip unzip git supervisor sqlite3 libcap2-bin libpng-dev python2 dnsutils     && curl -sS 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x14aa40ec0831756756d7f66c4f4ea0aae5267a6c' | gpg --dearmor | tee /usr/share/keyrings/ppa_ondrej_php.gpg > /dev/null     && echo "deb [signed-by=/usr/share/keyrings/ppa_ondrej_php.gpg] https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy main" > /etc/apt/sources.list.d/ppa_ondrej_php.list     && apt-get update     && apt-get install -y php8.1-cli php8.1-dev    

Running composer update fails due to database connection error...

any idea?


Viewing all articles
Browse latest Browse all 2815


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>