I try to configure VSCode to use our php executable inside a docker container. Firstly i tried it on a macintosh and everything works as expected. At work we use windows pc´s and i cant get it to work.

**Workspace Settings**

```
"php.suggest.basic": false,
"php.executablePath": "C:\\Source\\stack\\.bin\\php.bat",
"php.validate.executablePath": "C:\\Source\\stack\\.bin\\php.bat",
"php.validate.run": "onSave",
"php.validate.enable": true

```

I tried to set a `.sh`, `.exe` or `.bat` file but none of them seemed to work.

**php.bat**

```
@echo off
docker run -i stack_php php %*

```

**php.sh**

```
#!/bin/sh
docker run stack_php php "$@"
return $?

```

Anybody of you can help me get this to work? We would like to change our IDE from PHPStorm to VSCode but we arent able to so because everything a developer needs is stored in docker containers.