Implicitly create named volumes by realrajaryan · Pull Request #769 · apple/container

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@realrajaryan

Copy link

Contributor

@realrajaryan realrajaryan commented

Oct 16, 2025

edited

Loading

Type of Change

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

Motivation and Context

Named volumes are now implicitly created when referenced in container commands. So, if myvolume doesn't exist and you run container run -v myvolume:/data alpine, it is automatically created.

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs
ldemailly reacted with thumbs up emoji ldemailly reacted with hooray emoji

@realrajaryan realrajaryan changed the title Users/realrajaryan/implicit volume creation Implicitly create named volumes

Oct 16, 2025

@realrajaryan realrajaryan force-pushed the users/realrajaryan/implicit-volume-creation branch 2 times, most recently from a6d48eb to c2a355e Compare

October 16, 2025 20:39

@realrajaryan realrajaryan force-pushed the users/realrajaryan/implicit-volume-creation branch from c2a355e to c8a05a9 Compare

October 16, 2025 21:03

@realrajaryan realrajaryan merged commit 2f8de3a into apple:main

Oct 16, 2025

2 checks passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jglogan jglogan jglogan approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Request]: Create volumes automatically

2 participants

@realrajaryan @jglogan