Skip to content

Conversation

@Mashimiao
Copy link

Signed-off-by: Ma Shimiao [email protected]

After updated, options of rootfs will be more human-readable and easy to understand

cli.StringFlag{Name: "rootfs", Value: "rootfs", Usage: "path to the rootfs"},
cli.StringFlag{Name: "rootfs-path", Value: "rootfs", Usage: "path to the rootfs"},
cli.StringFlag{Name: "rootfs-propagation", Usage: "mount propagation for rootfs"},
cli.BoolFlag{Name: "rootfs-readonly", Usage: "make the container's rootfs readonly"},
Copy link
Contributor

Choose a reason for hiding this comment

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

The config.json property is root, so I'd prefer sticking to root instead of switching to rootfs. Other than that these changes look good to me.

Copy link
Author

Choose a reason for hiding this comment

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

OK. Then, let's see what's other people's opinions?

**--rootfs-readonly**=true|false
Mount the container's root filesystem as read only.

By default a container will have its root filesystem writable allowing processes to write files anywhere. By specifying the `--read-only` flag the container will have its root filesystem mounted as read only prohibiting any writes.
Copy link
Contributor

Choose a reason for hiding this comment

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

This --read-only instance is stale.

Copy link
Author

Choose a reason for hiding this comment

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

fixed, thanks.

@Mashimiao Mashimiao force-pushed the generate-update-rootfs-options branch from 1a27740 to b4b41f9 Compare October 21, 2016 06:49
@Mashimiao Mashimiao force-pushed the generate-update-rootfs-options branch from b4b41f9 to d0d4f2d Compare October 24, 2016 05:45
@mrunalp
Copy link
Contributor

mrunalp commented Oct 24, 2016

LGTM

@Mashimiao
Copy link
Author

ping @opencontainers/runtime-tools-maintainers

@hqhq
Copy link
Contributor

hqhq commented Nov 4, 2016

LGTM

Approved with PullApprove

@hqhq
Copy link
Contributor

hqhq commented Nov 4, 2016

@mrunalp Needs your re-LGTM.

@mrunalp
Copy link
Contributor

mrunalp commented Nov 4, 2016

LGTM

Approved with PullApprove

@mrunalp mrunalp merged commit 553c260 into opencontainers:master Nov 7, 2016
@Mashimiao Mashimiao deleted the generate-update-rootfs-options branch November 14, 2016 09:24
@wking wking mentioned this pull request Jul 10, 2017
wking added a commit to wking/ocitools-v2 that referenced this pull request Jul 11, 2017
Adjusting a --rootfs instance that was missed in d0d4f2d (generate:
update rootfs releated options, 2016-10-21, opencontainers#254).

Signed-off-by: W. Trevor King <[email protected]>
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.

4 participants