Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

atomic-run: Add --volume option #40

Closed
wants to merge 1 commit into from

Conversation

cgwalters
Copy link
Member

First, this is a horrendous hack. We need something like a RUNOPTS
metadata as a JSON array or something that can be clearly appended to
instead of having shell script.

Second and more importantly, it doesn't actually work because if the
container is stopped we have no way to change its mount points
currently. We'd have to detect the case where additional mounts were
passed in on the command line - and AFAIK Docker doesn't support
dynamically changing the mounts right now, though it would be possible
at the kernel level.

First, this is a horrendous hack.  We need something like a `RUNOPTS`
metadata as a JSON array or something that can be clearly appended to
instead of having shell script.

Second and more importantly, it doesn't actually work because if the
container is stopped we have no way to change its mount points
currently.  We'd have to detect the case where additional mounts were
passed in on the command line - and AFAIK Docker doesn't support
dynamically changing the mounts right now, though it would be possible
at the kernel level.
@rhatdan
Copy link
Member

rhatdan commented Jul 8, 2015

I think the --opt1, --opt2, --opt3 should take care of this now.

@rhatdan rhatdan closed this Jul 8, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants