Skip to content
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

Support the priviledged flag in docker #384

Closed
wants to merge 1 commit into from
Closed

Support the priviledged flag in docker #384

wants to merge 1 commit into from

Conversation

achanda
Copy link
Contributor

@achanda achanda commented Nov 5, 2015

No description provided.

@dimfeld
Copy link
Contributor

dimfeld commented Nov 5, 2015

Nice! Just a spelling comment: it should be privileged.

// Handle the priviledged flag
priviledged, ok := task.Config["priviledged"]
if !ok || priviledged == "" {
d.logger.Printf("[WARN] driver.docker: priviledged flag not set, defaulting to non-priviledged")
Copy link
Contributor

Choose a reason for hiding this comment

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

I probably wouldn't log here since omitting this setting is the normal case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought this would be a nice warning in case it was an operator error, since we are defaulting to a value. Also, a monitoring system might be looking at the messages.

@achanda
Copy link
Contributor Author

achanda commented Nov 5, 2015

@dimfeld thanks for pointing that out, updated.

@dadgar
Copy link
Contributor

dadgar commented Nov 5, 2015

Going to close in favor of #390. Thanks @achanda

@dadgar dadgar closed this Nov 5, 2015
@achanda achanda deleted the priv branch November 5, 2015 20:01
@diptanu
Copy link
Contributor

diptanu commented Nov 13, 2015

@achanda Can we please add some documentation regarding this feature in our docs?

@dadgar So based on this PR, I think doing priviledged is a driver option and not something that we allow operators to control?

I think on the client side it would be nice to have a flag which an operator could use to not allow priviledged. So a developer can ask for it to be priviledged, but the operator could rule it out.

@achanda
Copy link
Contributor Author

achanda commented Nov 13, 2015

@diptanu the PR that was merged does seem to have docs.

benbuzbee pushed a commit to benbuzbee/nomad that referenced this pull request Jul 21, 2022
…emantics

raft.LeaderCh() always deliver latest transition
@github-actions
Copy link

github-actions bot commented May 3, 2023

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants