• Get started
  • Guides
  • Manuals
  • Reference
K
Start typing to search… or try
Contribute
  • Get started
  • Guides
  • Manuals
  • Reference

This section
    • Grammar and style
    • Formatting guide
    • Recommended word list
    • Docker terminology
    • Voice and tone
  • Source file conventions
  • UI elements in content
    • Accordions
    • Badges
    • Buttons
    • Callouts
    • Cards
    • Code blocks
    • Icons
    • Images
    • Links
    • Lists
    • Tables
    • Tabs
    • Videos
  • Writing checklist
  • Write a Docker guide
Home / Contribute / Useful components / Accordions

Accordions

Table of contents
  • Example
  • Markup

Example

$ docker run hello-world

Markup

{{< accordion title="Accordion example" >}}

```console
$ docker run hello-world
```

{{< /accordion >}}

Edit this page

Request changes

Table of contents
  • Example
  • Markup
Product offerings Pricing About us Support Contribute

Copyright © 2013-2025 Docker Inc. All rights reserved.

Terms of Service Status Legal
Theme: