Skip to content

Commit

Permalink
[DOC] Checklist to fix cound not find Docker environment on macOS (op…
Browse files Browse the repository at this point in the history
…ensearch-project#477)

Signed-off-by: Lantao Jin <[email protected]>
  • Loading branch information
LantaoJin authored Jul 29, 2024
1 parent 3e4df0a commit c6ab291
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ can do so by running the following command:
```
sbt integtest/test
```
If you get integration test failures with error message "Previous attempts to find a Docker environment failed" in macOS, fix the issue by following the checklist:
1. Check you've installed Docker in your dev host. If not, install Docker first.
2. Check if the file /var/run/docker.sock exists. If not, go to `3`.
3. Run `sudo ln -s $HOME/.docker/desktop/docker.sock /var/run/docker.sock` or `sudo ln -s $HOME/.docker/run/docker.sock /var/run/docker.sock`
4. If you use Docker Desktop, as an alternative of `3`, check mark the "Allow the default Docker socket to be used (requires password)" in advanced settings of Docker Desktop.

### AWS Integration Test
The integration folder contains tests for cloud server providers. For instance, test against AWS OpenSearch domain, configure the following settings. The client will use the default credential provider to access the AWS OpenSearch domain.
```
Expand Down

0 comments on commit c6ab291

Please sign in to comment.