Skip to content

generate: support adding additional mounts for container#279

Merged
liangchenye merged 3 commits intoopencontainers:masterfrom
Mashimiao:generate-add-mounts-add-option
Nov 29, 2017
Merged

generate: support adding additional mounts for container#279
liangchenye merged 3 commits intoopencontainers:masterfrom
Mashimiao:generate-add-mounts-add-option

Conversation

@Mashimiao
Copy link
Copy Markdown

@Mashimiao Mashimiao commented Nov 24, 2016

Add support for adding additional mounts.
Users can add custom additional mounts, like adding tmpfs without special options or with custom options.

@Mashimiao Mashimiao force-pushed the generate-add-mounts-add-option branch from 49e0dd5 to 902366d Compare November 25, 2016 02:49
@Mashimiao Mashimiao force-pushed the generate-add-mounts-add-option branch from 902366d to 88aecac Compare February 15, 2017 06:39
@Mashimiao
Copy link
Copy Markdown
Author

Rebased. @opencontainers/runtime-tools-maintainers PTAL

@Mashimiao Mashimiao added this to the v0.6.0 milestone Sep 26, 2017
@Mashimiao Mashimiao force-pushed the generate-add-mounts-add-option branch from 88aecac to 47f3dc0 Compare October 25, 2017 02:49
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
default:
return source, dest, mType, options, fmt.Errorf("--mounts-add should have format src:dest:type:[:options...]")
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The non-null verification of dest should be increased because it is required.

@Mashimiao Mashimiao force-pushed the generate-add-mounts-add-option branch 2 times, most recently from 3b72950 to 74d6245 Compare November 28, 2017 09:14
Ma Shimiao added 2 commits November 28, 2017 17:15
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
Signed-off-by: Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
@zhouhao3
Copy link
Copy Markdown

zhouhao3 commented Nov 29, 2017

LGTM

Approved with PullApprove

@liangchenye
Copy link
Copy Markdown
Member

decoupled with #439, I'll merge it.

@liangchenye
Copy link
Copy Markdown
Member

liangchenye commented Nov 29, 2017

LGTM

Approved with PullApprove

@liangchenye liangchenye merged commit a6d6228 into opencontainers:master Nov 29, 2017
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