docker-magento icon indicating copy to clipboard operation
docker-magento copied to clipboard

Cant get the one line script to run. It asks for Uri

Open ikrowni opened this issue 2 years ago • 11 comments

Description Windows 10 with docker desktop installed. After entering the 1 line script i get this

cmdlet Invoke-WebRequest at command pipeline position 1
Supply values for the following parameters:
Uri:

Steps To Reproduce

  1. Create directory called magento
  2. bring powershell up into that directory and use the line curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup | bash -s -- compumax.test 2.4.3-p1

Expected Result The installer should begin running

Actual Result Asks for Uri

ikrowni avatar Apr 09 '22 20:04 ikrowni

I'm unable to replicate, and this is the first time I'm hearing this report. Did you follow the instructions with info at https://github.com/markshust/docker-magento/discussions/372 ?

markshust avatar Apr 12 '22 16:04 markshust

I have the same issue on Windows 10, Hyper-v and containers are enabled, also confirmed WLS2 is installed

getting this

curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup | bash -s -- magento.test 2.4.4

cmdlet Invoke-WebRequest at command pipeline position 1 Supply values for the following parameters: Uri:

steveberrill avatar Jul 24 '22 11:07 steveberrill

I remember some sort of weird issue cropping up when copying/pasting the pipe delimiter | on specific operating systems. Maybe try manually typing the entire line, or just that character to see if it resolves this?

markshust avatar Jul 25 '22 13:07 markshust

I remember some sort of weird issue cropping up when copying/pasting the pipe delimiter | on specific operating systems. Maybe try manually typing the entire line, or just that character to see if it resolves this?

I tried this but still no use. Here is what else i tried

  • typed out manually
  • re-install docker
  • switch to Hype-V

steveberrill avatar Jul 25 '22 19:07 steveberrill

I am having the same issue. Did anyone ever get it resolved?

tvaughan73 avatar Sep 14 '22 19:09 tvaughan73

Use WSL for Windows.

artmouse avatar Sep 15 '22 08:09 artmouse

Use WSL for Windows.

I already tried this but doesn't work for me.

steveberrill avatar Sep 15 '22 08:09 steveberrill

Use WSL for Windows.

I already tried this but doesn't work for me.

What exactly doesn't work?

artmouse avatar Sep 15 '22 08:09 artmouse

Use WSL for Windows.

I already tried this but doesn't work for me.

What exactly doesn't work?

see my post above https://github.com/markshust/docker-magento/issues/674#issuecomment-1193299360

steveberrill avatar Sep 15 '22 10:09 steveberrill

Use WSL for Windows.

I already tried this but doesn't work for me.

What exactly doesn't work?

see my post above #674 (comment)

I hope you ran the command from the Ubuntu terminal?

artmouse avatar Sep 15 '22 10:09 artmouse

Use WSL for Windows.

I already tried this but doesn't work for me.

What exactly doesn't work?

see my post above #674 (comment)

I hope you ran the command from the Ubuntu terminal?

yes i did and also tried BASH. I will give it another go tonight ;)

steveberrill avatar Sep 15 '22 10:09 steveberrill

Closing this as unable to replicate

markshust avatar Dec 04 '22 15:12 markshust

Same

Quentin-Sch avatar Dec 08 '22 09:12 Quentin-Sch