Please check the releases page for the changelog of newer versions.
- Cleanup and refactor code a little bit, enable all ShellCheck optional checks and fix them.
- Handle a situation where the host user is named
docker
and both the host user's group and the Docker daemon's group are nameddocker
. - Add support for a
FIXDOCKERGID_DEBUG
environment variable to enable debug logs. - Skip
fixdockergid
andfixuid
if the container is started asroot
. - Optimize the code a little bit by relying on
install.sh
to have created thedocker
group. - Use dind to run tests, so that we can test with different host scenarios.
- Add a check to ensure the container user's group is not named
docker
. This would otherwise cause thefixuid
to change its GID and potentially break permissions to access the Docker daemon's socket.
Please see the commits history for older versions.