
You also want to already have the Docker Desktop for Windows application already installed.It’s optional but should be an easier way to get mkcert installed.

DDEV recommends using Chocolately for installing the required software.Here are the prerequisites before you can install and use DDEV on Windows WSL 2: If you have specific expertise in this area, please leave a comment below this video and share with others what you’ve learned about installing and running DDEV and Docker on Windows with WSL 2. RUN chmod 600 ~xxxx/.pgpass ~xxxx/.my.The official DDEV documentation recommends following their instructions closely for installing DDEV on Windows with WSL 2.Ī quick disclaimer: I’m not a full-time Windows user, and I don’t develop web projects with Windows as my operating system, so my knowledge and experience are limited. RUN export XDEBUG_MODE=off & ( composer self-update -2 || composer self-update -2 || true ) RUN apt-get update & DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="-force-confold" -no-install-recommends -no-install-suggests php8.1-ssh2 php8.1-oauth php8.1-amqp ffmpeg webp zip # DDEV-injected from webimage_extra_packages or dbimage_extra_packages # From user file /home/xxxx/projects/othub/.ddev/web-build/pre.Dockerfile: RUN (groupadd -gid $gid "$username" || groupadd "$username" || true) & (useradd -l -m -s "/bin/bash" -gid "$username" -comment '' -uid $uid "$username" || useradd -l -m -s "/bin/bash" -gid "$username" -comment '' "$username" || useradd -l -m -s "/bin/bash" -gid "$gid" -comment '' "$username")

#ddev-generated - Do not modify this file your modifications will be overwritten.

I know it's a pain, and we seem to be on radically different timezones, but I really hope to make it work for your situation and everybody else's as well. That may be github's fault, but I'll see if it can make sure to deliver executable binaries inside that zipball.īTW, we're giving this yet another try in #3999, because we want this set of things to work for everybody. I'll fix the build process that doesn't make that executable if possible. I'm surprised to see that the ddev executable here does not have executable mode by default, so maybe that's what tripped you up? If it's not executable and not (early) in the PATH then you won't be running it.
