Issue with docker init

when I am trying to run the docker init it’s just not letting me select the sub-options but skipping those parts and directly throwing an error ERROR: Incorrect function.
NOTE: my docker desktop is running.

$ docker --version
Docker version 24.0.6, build ed223bc

Any help will be highly appreciated.

I had the same problem using Git Bash
I have tried Windows cmd and where in no Error
Try it. It may help/

1 Like

Okay, I will try it and I will let you know, thanks for your support

hey, thanks a lot, it’s working with windows cmd