Skip to content

Nk/add volume support#2413

Merged
PawelPeczek-Roboflow merged 4 commits into
mainfrom
nk/add-volume-support
Jun 4, 2026
Merged

Nk/add volume support#2413
PawelPeczek-Roboflow merged 4 commits into
mainfrom
nk/add-volume-support

Conversation

@nkuneman
Copy link
Copy Markdown
Contributor

@nkuneman nkuneman commented Jun 4, 2026

What does this PR do?

Adding an option to bind mount a local volume to the inference server. This was only possible through running the docker run command manually prior to this. The option exists now for creating the inference server throug both the CLI and Python.

Related Issue(s):
Stems from a feature I wanted when building my demo project

Type of Change

  • New feature (non-breaking change that adds functionality)

Testing

  • [✅ ] I have tested this change locally
  • [✅ ] I have added/updated tests for this change

Test details:

The tests verify that the hardcoded /tmp volume is always present in the container regardless of what the user passes, and that any user-supplied volumes are merged in alongside it correctly.

Checklist

  • [ ✅] My code follows the style guidelines of this project
  • [✅ ] I have performed a self-review of my own code
  • [ ✅] I have commented my code where necessary, particularly in hard-to-understand areas
  • [ ✅] My changes generate no new warnings or errors
  • [ ✅] I have updated the documentation accordingly (if applicable)

nkuneman added 4 commits June 4, 2026 12:07
Adds a --volume / -v CLI flag to `inference server start` and a
corresponding `volumes` parameter to `start_inference_container()`,
allowing users to bind-mount host directories into the container.
@nkuneman nkuneman force-pushed the nk/add-volume-support branch from b820ea3 to ce297a9 Compare June 4, 2026 16:08
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Jun 4, 2026

CLA assistant check
All committers have signed the CLA.

@PawelPeczek-Roboflow PawelPeczek-Roboflow merged commit b54110a into main Jun 4, 2026
47 checks passed
@PawelPeczek-Roboflow PawelPeczek-Roboflow deleted the nk/add-volume-support branch June 4, 2026 17:38
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.

3 participants