Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

➖ Docker can be a range of GIDs #1436

Merged
merged 4 commits into from
Jan 20, 2025
Merged

➖ Docker can be a range of GIDs #1436

merged 4 commits into from
Jan 20, 2025

Conversation

mcncl
Copy link
Contributor

@mcncl mcncl commented Jan 20, 2025

Issue

We've seen builds where the order of installs from the install-utils script can impact the gid of the docker group, but we specify that docker must be in 993 in our GOSS test

The install order in our instance build can determine the GIDs that packages get; install-utils runs first, so 993 may be taken by the time we install Docker.

Change

We allow the docker group to have a GID between 990 and 995, inclusive. We could expand this, but it feels like a fine range to start with given we aren't aiming to add lots of packages.

goss.yaml Show resolved Hide resolved
mcncl added 2 commits January 20, 2025 16:01
Removes checking command in favour of lt/gt from UID examples
Copy link
Contributor

@DrJosh9000 DrJosh9000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

@mcncl mcncl merged commit 1775168 into main Jan 20, 2025
1 check passed
@mcncl mcncl deleted the SUP-2955/docker_gid_range branch January 20, 2025 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants