Skip to content

Commit dd7d253

Browse files
Add new fix for Docker inotify troubleshooting
Signed-off-by: killianmuldoon <[email protected]>
1 parent 45c8b28 commit dd7d253

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docs/book/src/user/troubleshooting.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,17 @@ provisioning might be stuck:
5454

5555

5656
## Cluster API with Docker Desktop - "too many open files"
57-
5857
When using Cluster API and the Docker infrastructure provider on MacOS with Docker Desktop an error of "too many open files" has been observed.
5958

60-
One solution to this issue is to increase the maximum inotify file watch settings in the Docker Desktop VM.
59+
Note: This error was observed in Docker 4.3 and 4.4. It can be resolved by updating to Docker Desktop for Mac 4.5 or using a version lower than 4.3.
60+
61+
[The upstream issue for this error is closed as of the release of Docker 4.5.0](https://github.com/docker/for-mac/issues/6071)
62+
63+
Note: The below workaround is not recommended unless upgrade or downgrade can not be performed.
6164

62-
To do so:
65+
If using a version of Docker Desktop for Mac 4.3 or 4.4, the following workaround can be used:
66+
67+
Increase the maximum inotify file watch settings in the Docker Desktop VM:
6368

6469
1) Enter the Docker Desktop VM
6570
```
@@ -75,8 +80,6 @@ sysctl fs.inotify.max_user_instances=8192
7580
exit
7681
```
7782

78-
Note: This error was observed in Docker 4.3. An alternative solution is to stick with an older version of Docker Desktop while this issue is being resolved. [An issue is currently open on the Docker Desktop repository.](https://github.com/docker/for-mac/issues/6071)
79-
8083
## Failed clusterctl init - 'failed to get cert-manager object'
8184

8285
When using older versions of Cluster API 0.4 and 1.0 releases - 0.4.6, 1.0.3 and older respectively - Cert Manager may not be downloadable due to a change in the repository location. This will cause `clusterctl init` to fail with the error:

0 commit comments

Comments
 (0)