docs(docker): updated troubleshooting tip for WSL (#3516)

This commit is contained in:
Danny L 2021-11-07 21:40:40 -05:00 committed by GitHub
parent 9a26f204f6
commit d541bd30f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,6 +60,12 @@ applies.
> Note this only removes containers, not images. Should still be fast to switch between these once you've launched both
> at least once.
### Unexpected character
If you are using Windows WSL (with Ubuntu) and receive an error of 'unexpected character "." in variable name...' while executing `docker/dev.sh` try these steps:
- Open up Docker Desktop, click gear icon at top to open the settings and uncheck the "Use Docker Compose V2" option. Close your terminal, open a new one and try to rerun the command `docker/dev.sh`.
- Next, try `sudo docker/dev.sh` and finally, try moving the file `~/.docker/config.json` to `~/.docker/config.json.bak` and retry the command with `sudo`.
### Running a specific service
`docker-compose up` will launch all services in the configuration, including dependencies, unless they're already