Skip to content

Conversation

@aevesdocker
Copy link
Contributor

@aevesdocker aevesdocker commented Dec 16, 2024

Description

Adds new attributes to the spec from the recent 2.32.0 release

Related issues or tickets

Reviews

  • Technical review
  • Editorial review
  • Product review

@github-actions github-actions bot added the area/compose Relates to docker-compose.yml spec or docker-compose binary label Dec 16, 2024
@netlify
Copy link

netlify bot commented Dec 16, 2024

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit e9f7aa3
🔍 Latest deploy log https://app.netlify.com/sites/docsdocker/deploys/676009d00de08700082bb682
😎 Deploy Preview https://deploy-preview-21639--docsdocker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Comment on lines +70 to +74
- `command`: Specifies the command to run once the container starts. This attribute is required, and you can choose to use either the shell form or the exec form.
- `user`: The user to run the command. If not set, the command is run with the same user as the main service command.
- `privileged`: Lets the command run with privileged access.
- `working_dir`: The working directory in which to run the command. If not set, it is run in the same working directory as the main service command.
- `environment`: Sets the environment variables to run the command. While the command inherits the environment variables defined for the service’s main command, this section lets you add new variables or override existing ones.
Copy link
Contributor

Choose a reason for hiding this comment

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

just a consistency question. this bulleted lists uses command: description format, while the one before it uses command, description format. not sure if this was intentional and if so if there is a reason to use one over the other?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

True! There was no rhyme or reason to it. Good spot - will do a consistency follow up!

Copy link
Contributor

@sarahsanders-docker sarahsanders-docker 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! I left one nit/consistency question that I was curious about

@aevesdocker aevesdocker merged commit 948b9ca into docker:main Dec 16, 2024
14 checks passed
kubefwd
kubelet
lookup
label_file
Copy link
Contributor

Choose a reason for hiding this comment

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

Adding this to the vocabulary is not the right way to fix this lint error

If this is to disable the sentence case check, you should disable that rule instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it wasn't for the sentence case thing, was being flagged as a 'are you sure you meant..' one.

Copy link
Contributor

Choose a reason for hiding this comment

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

OK, but there are a lot more headings that are flagged for the same thing in this and the other compose file docs. You could disable spellcheck, or better, wrap the options in code spans, to bypass this rule. Adding all of these params to the vocabulary doesn't seem like a good solution

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok good to know, will resolve in the follow-up as well

@aevesdocker aevesdocker mentioned this pull request Jan 7, 2025
3 tasks
aevesdocker added a commit that referenced this pull request Jan 7, 2025
<!--Delete sections as needed -->

## Description

Looks larger than it is: - 

- A follow-up to comments on #21639
- Deals with hotjar issue
https://docker.slack.com/archives/C04BMTUC41E/p1734970724382829
- Vale freshness

## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review

---------

Co-authored-by: Sarah Sanders <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/compose Relates to docker-compose.yml spec or docker-compose binary area/tests status/review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants