Home Explore Blog CI



docker

content/contribute/components/tables.md
138ac96ae4af71f103683ce1f67521bcaca8f980932b6ba70000000300000ac3
---
description: components and formatting examples used in Docker's docs
title: Tables
toc_max: 3
---

## Example

### Basic table

| Permission level                                                         | Access                                                        |
| :----------------------------------------------------------------------- | :------------------------------------------------------------ |
| **Bold** or _italic_ within a table cell. Next cell is empty on purpose. |                                                               |
|                                                                          | Previous cell is empty. A `--flag` in mono text.              |
| Read                                                                     | Pull                                                          |
| Read/Write                                                               | Pull, push                                                    |
| Admin                                                                    | All of the above, plus update description, create, and delete |

### Feature-support table

| Platform   | x86_64 / amd64 |
| :--------- | :------------: |
| Ubuntu     |       ✅       |
| Debian     |       ✅       |
| Fedora     |                |
| Arch (btw) |       ✅       |

## Markdown

### Basic table

```md
| Permission level                                                         | Access                                                        |
| :----------------------------------------------------------------------- | :------------------------------------------------------------ |
| **Bold** or _italic_ within a table cell. Next cell is empty on purpose. |                                                               |
|                                                                          | Previous cell is empty. A `--flag` in mono text.              |
| Read                                                                     | Pull                                                          |
| Read/Write                                                               | Pull, push                                                    |
| Admin                                                                    | All of the above, plus update description, create, and delete |
```

The alignment of the cells in the source doesn't really matter. The ending pipe
character is optional (unless the last cell is supposed to be empty).

### Feature-support table

```md
| Platform   | x86_64 / amd64 |
| :--------- | :------------: |
| Ubuntu     |       ✅       |
| Debian     |       ✅       |
| Fedora     |                |
| Arch (btw) |       ✅       |
```

Chunks
5544cc6d (1st chunk of `content/contribute/components/tables.md`)
Title: Tables in Docker Documentation
Summary
This section provides examples and markdown code for creating tables in Docker documentation. It demonstrates basic tables with different types of content within cells, including bold, italics, and mono text, and feature-support tables indicating platform compatibility. The alignment of cells in the markdown source doesn't matter, and the ending pipe character is optional.