Skip to content

ctr: add --hostname flag to create, run#7082

Merged
AkihiroSuda merged 1 commit intocontainerd:mainfrom
samuelkarp:ctr-hostname
Jun 21, 2022
Merged

ctr: add --hostname flag to create, run#7082
AkihiroSuda merged 1 commit intocontainerd:mainfrom
samuelkarp:ctr-hostname

Conversation

@samuelkarp
Copy link
Copy Markdown
Member

Wrote this to help test samuelkarp/runj@658737c; might be useful upstream for other testing as well.

Copy link
Copy Markdown
Member

@kzys kzys left a comment

Choose a reason for hiding this comment

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

LGTM

@AkihiroSuda AkihiroSuda merged commit b56cac1 into containerd:main Jun 21, 2022
@jterry75
Copy link
Copy Markdown
Contributor

I know Windows is the {insert here}..., but can we please try to build the muscle to think "is this linux/windows specific" or can it benefit both. oci.WithHostname is not Linux specific and this could have been done in run so that Windows would also have gotten this flag to work properly. Thanks all

@samuelkarp
Copy link
Copy Markdown
Member Author

@jterry75 I mostly did it this way since I don't currently have a Windows machine to test. I'm happy to open another PR adding it to Windows but until I get access to a machine I'd need someone else to test it for me.

@jterry75
Copy link
Copy Markdown
Contributor

All good, we dont have CI for ctr so its a best effort anyways. No worries

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.

4 participants