Commit 0bf52a9
authored
Add docker rootless support for macOS and desktop for Linux (#6907)
Docker Desktop for Linux installs the socket path at
`/home/username/.docker/desktop/docker.sock`. In Docker Desktop
for Mac 4.18, there is an option to disable the default Docker socket
(/var/run/docker.sock) and rely on `/home/username/.docker/run/docker.sock`
instead.
Fixes #64261 parent 3d21747 commit 0bf52a9
File tree
1 file changed
+14
-3
lines changed- core/src/main/java/org/testcontainers/dockerclient
1 file changed
+14
-3
lines changedLines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
| |||
79 | 86 | | |
80 | 87 | | |
81 | 88 | | |
82 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
83 | 94 | | |
84 | 95 | | |
85 | 96 | | |
| |||
0 commit comments