Skip to content

Native read-only parameter for docker run #153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jacksgt opened this issue Feb 9, 2018 · 0 comments
Closed

Native read-only parameter for docker run #153

jacksgt opened this issue Feb 9, 2018 · 0 comments
Milestone

Comments

@jacksgt
Copy link
Contributor

jacksgt commented Feb 9, 2018

Quite often, I'm finding myself having to pass --read-only as an extra_parameter to ::docker::run, like so:

 ::docker::run { 'postgres':
    image            => "puppet/puppetdb-postgres:${version}",
    ...
    extra_parameters => [
      '--read-only=true',
    ]
}

It would be great to have a 'native' parameter for this, i.e. read_only => true.

jacksgt added a commit to jacksgt/puppetlabs-docker that referenced this issue Feb 9, 2018
jacksgt added a commit to jacksgt/puppetlabs-docker that referenced this issue Feb 9, 2018
jacksgt added a commit to jacksgt/puppetlabs-docker that referenced this issue Feb 10, 2018
@davejrt davejrt added this to the v1.1.0 milestone Mar 15, 2018
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

No branches or pull requests

2 participants