-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup the docker permission issues. (#1706)
* Cleanup the docker permission issues. The permissions on the mounted docker.sock where incorrect for the current user, which lead to workarounds setting the docker binary SUID. However this was a bit hacky and if programatic access to docker was needed (e.g. TestContainers, or anything else that used the socket and not the binary) then access would fail. Rather than set the binary SUID which only works for some of the docker use cases, we add the ath-user to the docker group that has access to the socket on the host at run time. * Update method of obtaining docker group Suggested by @dduportal that for docker-dekstop on mac the permission needeed needs to be obtained from the server (so spawn a container and check it!) * use ubuntu:noble to avoid pulling a new image
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters