Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

beginnerjdocker's avatar

install Laravel by Container not on the drive C (windows10) but on other drive than C

Hi,

My First Docker Desktop on Windows 10 is installed on the C drive and it works. I also installed Ubuntu on the C drive.

I would install the Laravel by containers on the D drive (not on the drive C) I tried it by run the following command in my terminal:

curl -s https : // laravel. build /example-app | bash

but I think, it is for the Drive C. How can I install on the D drive (it is a external hard drive).

0 likes
2 replies
beneyraheem's avatar

You can cd in the Drive or folder, that you want to install. After that run the same command.

curl -s https : // laravel. build /example-app | bash

1 like
beginnerjdocker's avatar
Level 1

TRhanks beneyraheem, it works :

on windows my directory on Dirve D :

D:\dockers\laraveltest

and on Ubuntu

$ cd /mnt/d/dockers/laraveltest

Please or to participate in this conversation.