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
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions goss.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ port:
tcp6:22:
listening: true
ip:
- '::'
- "::"

service:
amazon-cloudwatch-agent:
Expand Down Expand Up @@ -101,7 +101,6 @@ group:

docker:
exists: true
gid: 993

sshd:
exists: true
Expand Down Expand Up @@ -214,3 +213,7 @@ command:
timeout: 30000
stdout:
- x86_64

## This allows us to support a range of group ids for the docker group, 990-995
'getent group docker | cut -d: -f3 | grep -E "^99[0-5]$"':
exit-status: 0