Docker for Windows instructions in README.md

This commit is contained in:
Hendy Irawan 2020-02-19 23:20:24 +07:00 committed by GitHub
parent 305ef606ce
commit 08f6e74c44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,12 @@ Unfortunately, this container is not currently suited for a production environme
**Note:** This will take a while, as docker will now build the container. **Note:** This will take a while, as docker will now build the container.
**Docker for Windows only:** You can run `dbench` in Windows e.g. using [Git Bash for Windows](https://gitforwindows.org/). However, due to [this issue](https://github.com/docker/for-win/issues/1588) you will get this error: `the input device is not a TTY. If you are using mintty, try prefixing the command with 'winpty'`. As a workaround, you will need to prefix `winpty` to every `docker` command. Use this before calling `dbench` commands above:
```bash
alias docker='winpty docker'
```
3. Add a new site and start Frappe: 3. Add a new site and start Frappe:
```bash ```bash