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

document docker dangling container reaper #6762

Merged
merged 3 commits into from
Nov 22, 2019
Merged

Conversation

notnoop
Copy link
Contributor

@notnoop notnoop commented Nov 22, 2019

Document #6325 .

Specially for grammatical and stylistic comments, please edit to push to branch directly :).

@notnoop notnoop added theme/docs Documentation issues and enhancements theme/driver/docker labels Nov 22, 2019
@notnoop notnoop added this to the 0.10.2 milestone Nov 22, 2019
Copy link
Member

@schmichael schmichael left a comment

Choose a reason for hiding this comment

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

Overall looks good! Fairly minor spelling and wording suggestions. Take or leave what you want.

website/source/docs/drivers/docker.html.md Outdated Show resolved Hide resolved
website/source/docs/drivers/docker.html.md Outdated Show resolved Hide resolved
website/source/docs/drivers/docker.html.md Outdated Show resolved Hide resolved
website/source/docs/drivers/docker.html.md Outdated Show resolved Hide resolved
website/source/docs/drivers/docker.html.md Outdated Show resolved Hide resolved
website/source/docs/drivers/docker.html.md Outdated Show resolved Hide resolved
website/source/docs/drivers/docker.html.md Outdated Show resolved Hide resolved
website/source/docs/drivers/docker.html.md Outdated Show resolved Hide resolved
Mahmood Ali and others added 2 commits November 22, 2019 13:03
Co-Authored-By: Michael Schurter <mschurter@hashicorp.com>
@notnoop notnoop merged commit fd4493c into master Nov 22, 2019
@notnoop notnoop deleted the d-docker-dangling-containers branch November 22, 2019 18:11
Copy link
Contributor

@angrycub angrycub left a comment

Choose a reason for hiding this comment

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

Some copy edit suggestions. Nothing critical.

It would be nice if the page used - as the list markdown, because it's the standard, but I know that all of the other pages are a bit of a mixture.

containers are started without being properly managed by Nomad. Nomad 0.10.2
introduced a reaper that detects and kills such containers.

Operators may opt to run reaper in a dry mode or disabling it through a client config.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Operators may opt to run reaper in a dry mode or disabling it through a client config.
Operators may opt to run reaper in a dry-run mode or disabling it through a client config.

potentially with stale versions.

When Docker daemon becomes unavailable as Nomad starts a task, it is possible
for Docker to successfully start the container and fails the API call with 500
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
for Docker to successfully start the container and fails the API call with 500
for Docker to successfully start the container but return a 500 error code from the API call.


When Docker daemon becomes unavailable as Nomad starts a task, it is possible
for Docker to successfully start the container and fails the API call with 500
error code. In such cases, Nomad retries and eventually aims to kill such
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
error code. In such cases, Nomad retries and eventually aims to kill such
In such cases, Nomad retries and eventually aims to kill such

conventions for naming and bind-mounts (i.e. `/alloc`, `/secrets`, `local`).
Containers that don't match Nomad container patterns are left untouched.

Operators can run the reaper in a dry run mode, where it only logs dangling
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
Operators can run the reaper in a dry run mode, where it only logs dangling
Operators can run the reaper in a dry-run mode, where it only logs dangling

Containers that don't match Nomad container patterns are left untouched.

Operators can run the reaper in a dry run mode, where it only logs dangling
container ids without killing them, or simply disable it through
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
container ids without killing them, or simply disable it through
container ids without killing them, or disable it by setting

notnoop pushed a commit that referenced this pull request Nov 22, 2019
Incorporate suggestions in #6762 (review)

[ci skip]
notnoop pushed a commit that referenced this pull request Nov 22, 2019
…rs-followup

docs: address more GH-6762 review comments
@github-actions
Copy link

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 Jan 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
theme/docs Documentation issues and enhancements theme/driver/docker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants