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

fix(api): use device name custom rule for field validation #3760

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

henrybarreto
Copy link
Member

We have been using the hostname_rfc1123 for validating the device name, which isn't compatible with Docker's daemon naming convention, causing containers with underscore to be denied by the server for invalid entity format.

Closes #3291

We have been using the `hostname_rfc1123` for validating the device
name, which isn't compatible with [Docker's daemon naming
convention](https://github.com/moby/moby/blob/master/daemon/names/names.go#L6),
causing containers with `underscore` to be denied by the server for
invalid entity format.

Closes #3291
@henrybarreto henrybarreto self-assigned this Apr 23, 2024
@henrybarreto henrybarreto requested a review from a team as a code owner April 23, 2024 12:53
@henrybarreto
Copy link
Member Author

@gustavosbarreto gustavosbarreto merged commit 247403f into master Apr 23, 2024
18 checks passed
@gustavosbarreto gustavosbarreto deleted the fix/device_name_rfc_1123 branch April 23, 2024 14:28
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.

Containers with underscore (_) in the name not appearing in ShellHub
2 participants