Skip to content

Conversation

saehejkang
Copy link
Contributor

@saehejkang saehejkang commented Oct 8, 2025

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

Closes #386

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

@jglogan
Copy link
Contributor

jglogan commented Oct 9, 2025

Hi @saehejkang!

I think that the preference on the issue was to define none as a reserved "network name" as you have done with your constant definition, and instead of a new --no-network flag, --network none would signify that the attachment list would be empty instead of the default.

Could you revise the PR to use --network none in place of --no-network? I'll also add review comments. Thanks again!

@saehejkang saehejkang force-pushed the container-create-run-no-network-attached branch 3 times, most recently from 96a4272 to 392d5aa Compare October 9, 2025 07:20
@saehejkang saehejkang changed the title [container-run-create]: add --no-network flag [container-run-create]: add support for --network none Oct 9, 2025
@saehejkang saehejkang force-pushed the container-create-run-no-network-attached branch from 392d5aa to ad90b43 Compare October 9, 2025 07:50
@saehejkang saehejkang force-pushed the container-create-run-no-network-attached branch from ad90b43 to ab78d7a Compare October 10, 2025 00:40
Copy link
Contributor

@jglogan jglogan left a comment

Choose a reason for hiding this comment

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

@saehejkang this looks great, sorry for the follow delay and sorry to trouble you with one tiny stylistic nit and then it should be good to go

I'll kick off the workflow on this one though, please check it just in case make fmt needs to be run with the little fix.

@jglogan jglogan merged commit d610a85 into apple:main Oct 21, 2025
2 checks passed
@jglogan
Copy link
Contributor

jglogan commented Oct 21, 2025

@saehejkang Merged, thank you!

@jglogan jglogan added the next Items in scope for the next few milestones label Oct 21, 2025
@jglogan jglogan added this to the 2025-10 milestone Oct 21, 2025
@jglogan jglogan added the network Issues and features associated with networking and DNS. label Oct 21, 2025
0xEDU pushed a commit to 0xEDU/container that referenced this pull request Oct 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

network Issues and features associated with networking and DNS. next Items in scope for the next few milestones

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Request]: Add option to create/run a container that has no network attachment.

2 participants