Skip to content

Commit 6aedf86

Browse files
Merge pull request #21118 from docker/published-update
publish updates from main
2 parents 1705867 + f0e251f commit 6aedf86

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

content/manuals/docker-hub/download-rate-limit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The file contains the following comma separated values.
5050
| `datehour` | The date and hour (`yyyy/mm/dd/hh`) of the pull that resulted in the data transfer. | This helps in identifying peak usage times and patterns. |
5151
| `user_name` | The Docker ID of the user that pulled the image | This lets organization owners track data consumption per user and manage resources effectively. |
5252
| `repository` | The name of the repository of the image that was pulled. | This lets you identify which repositories are most frequently accessed and consume most of the data transfer. |
53-
| `pat_name` | Name of the personal access token that was used for authentication with Docker CLI. `generated` tokens are automatically generated by the Docker client when a user signs in. | Personal access tokens are usually used to authenticate automated tools (Docker Desktop, CI/CD tools, etc.). This is useful for identifying which automated system issued the pull. |
53+
| `access_token_name` | Name of the access token that was used for authentication with Docker CLI. `generated` tokens are automatically generated by the Docker client when a user signs in. | Personal access tokens are usually used to authenticate automated tools (Docker Desktop, CI/CD tools, etc.). This is useful for identifying which automated system issued the pull. |
5454
| `ips` | The IP address that was used to pull the image. This field is aggregated, so more than one IP address may appear, representing all the IPs used to pull an image within the same date and hour. | This helps you understand the origin of the data transfer, which is useful for diagnosing and identifying patterns in automated or manual pulls. |
5555
| `repository_privacy` | The privacy state of the image repository that was pulled. This can either be `public` or `private`. | This distinguishes between public and private repositories to identify which data transfer threshold the pull impacts. |
5656
| `tag` | The tag for the image. The tag is only available if the pull request included a tag. | This helps in identifying the image. Tags are often used to identify specific versions or variants of an image. |

content/reference/api/engine/sdk/_index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ import (
8484
"io"
8585
"os"
8686

87-
"github.com/docker/docker/api/types"
8887
"github.com/docker/docker/api/types/container"
8988
"github.com/docker/docker/api/types/image"
9089
"github.com/docker/docker/client"
@@ -113,7 +112,7 @@ func main() {
113112
panic(err)
114113
}
115114

116-
if err := cli.ContainerStart(ctx, resp.ID, types.ContainerStartOptions{}); err != nil {
115+
if err := cli.ContainerStart(ctx, resp.ID, container.StartOptions{}); err != nil {
117116
panic(err)
118117
}
119118

@@ -126,7 +125,7 @@ func main() {
126125
case <-statusCh:
127126
}
128127

129-
out, err := cli.ContainerLogs(ctx, resp.ID, types.ContainerLogsOptions{ShowStdout: true})
128+
out, err := cli.ContainerLogs(ctx, resp.ID, container.LogsOptions{ShowStdout: true})
130129
if err != nil {
131130
panic(err)
132131
}

0 commit comments

Comments
 (0)