Skip to content

Commit 18909bb

Browse files
Merge pull request #21389 from docker/published-update
publish updates from main
2 parents 2b6f23a + 524b00f commit 18909bb

File tree

35 files changed

+324
-284
lines changed

35 files changed

+324
-284
lines changed

.github/ISSUE_TEMPLATE/new_guide.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ body:
2222
and someone (a Docker employee, Docker captain, or community member)
2323
may pick it up and start working on it.
2424
options:
25-
- label: Yes
25+
- label: "Yes"

_releaser/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
ARG GO_VERSION=1.19
3+
ARG GO_VERSION=1.23
44

55
FROM scratch AS sitedir
66

_releaser/aws.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import (
44
"archive/zip"
55
"bytes"
66
"encoding/json"
7+
"errors"
78
"fmt"
89
"log"
910
"os"
@@ -143,13 +144,14 @@ func (s *AwsCloudfrontUpdateCmd) Run() error {
143144
FunctionName: aws.String(s.Function),
144145
})
145146
if err != nil {
146-
if aerr, ok := err.(awserr.Error); ok && aerr.Code() != lambda.ErrCodeResourceNotFoundException {
147+
var aerr awserr.Error
148+
if errors.As(err, &aerr) && aerr.Code() != lambda.ErrCodeResourceNotFoundException {
147149
return fmt.Errorf("cannot find lambda function %q: %w", s.Function, err)
148150
}
149151
_, err = svc.CreateFunction(&lambda.CreateFunctionInput{
150152
FunctionName: aws.String(s.Function),
151153
})
152-
if aerr, ok := err.(awserr.Error); ok && aerr.Code() != lambda.ErrCodeResourceConflictException {
154+
if errors.As(err, &aerr) && aerr.Code() != lambda.ErrCodeResourceConflictException {
153155
return err
154156
}
155157
}

_releaser/go.mod

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
module github.com/docker/docs/_releaser
22

3-
go 1.18
3+
go 1.22
44

55
require (
6-
github.com/alecthomas/kong v0.7.1
7-
github.com/aws/aws-sdk-go v1.44.180
6+
github.com/alecthomas/kong v1.4.0
7+
github.com/aws/aws-sdk-go v1.55.5
88
)
99

1010
require (
1111
github.com/davecgh/go-spew v1.1.1 // indirect
1212
github.com/jmespath/go-jmespath v0.4.0 // indirect
13-
golang.org/x/net v0.17.0 // indirect
1413
gopkg.in/yaml.v2 v2.4.0 // indirect
1514
)

_releaser/go.sum

Lines changed: 9 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,23 @@
1-
github.com/alecthomas/assert/v2 v2.1.0 h1:tbredtNcQnoSd3QBhQWI7QZ3XHOVkw1Moklp2ojoH/0=
2-
github.com/alecthomas/kong v0.7.1 h1:azoTh0IOfwlAX3qN9sHWTxACE2oV8Bg2gAwBsMwDQY4=
3-
github.com/alecthomas/kong v0.7.1/go.mod h1:n1iCIO2xS46oE8ZfYCNDqdR0b0wZNrXAIAqro/2132U=
4-
github.com/alecthomas/repr v0.1.0 h1:ENn2e1+J3k09gyj2shc0dHr/yjaWSHRlrJ4DPMevDqE=
5-
github.com/aws/aws-sdk-go v1.44.180 h1:VLZuAHI9fa/3WME5JjpVjcPCNfpGHVMiHx8sLHWhMgI=
6-
github.com/aws/aws-sdk-go v1.44.180/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
1+
github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0=
2+
github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k=
3+
github.com/alecthomas/kong v1.4.0 h1:UL7tzGMnnY0YRMMvJyITIRX1EpO6RbBRZDNcCevy3HA=
4+
github.com/alecthomas/kong v1.4.0/go.mod h1:p2vqieVMeTAnaC83txKtXe8FLke2X07aruPWXyMPQrU=
5+
github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc=
6+
github.com/alecthomas/repr v0.4.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4=
7+
github.com/aws/aws-sdk-go v1.55.5 h1:KKUZBfBoyqy5d3swXyiC7Q76ic40rYcbqH7qjh59kzU=
8+
github.com/aws/aws-sdk-go v1.55.5/go.mod h1:eRwEWoyTWFMVYVQzKMNHWP5/RV4xIUGMQfXQHfHkpNU=
79
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
810
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
911
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
1012
github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM=
13+
github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg=
1114
github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg=
1215
github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo=
1316
github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8=
1417
github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U=
15-
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
1618
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
1719
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
1820
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
19-
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
20-
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
21-
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
22-
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
23-
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
24-
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
25-
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
26-
golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco=
27-
golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM=
28-
golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE=
29-
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
30-
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
31-
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
32-
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
33-
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
34-
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
35-
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
36-
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
37-
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
38-
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
39-
golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
40-
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
41-
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
42-
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
43-
golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
44-
golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k=
45-
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
46-
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
47-
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
48-
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
4921
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
5022
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
5123
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=

_vale/Docker/Acronyms.yml

Lines changed: 39 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,29 @@ link: https://docs.docker.com/contribute/style/grammar/#acronyms-and-initialisms
44
level: warning
55
ignorecase: false
66
# Ensures that the existence of 'first' implies the existence of 'second'.
7-
first: '\b([A-Z]{3,5})\b'
8-
second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{3,5})\)'
7+
first: '\b([A-Z]{2,5})\b'
8+
second: '(?:\b[A-Z][a-z]+ )+\(([A-Z]{2,5})\)'
99
# ... with the exception of these:
1010
exceptions:
11+
- AGPL
1112
- API
1213
- ARM
1314
- ASP
1415
- AUFS
1516
- AWS
1617
- BIOS
18+
- CISA
1719
- CLI
20+
- CNCF
21+
- CORS
1822
- CPU
1923
- CSS
2024
- CSV
2125
- CVE
2226
- DCT
2327
- DEBUG
28+
- DHCP
29+
- DNS
2430
- DOM
2531
- DPI
2632
- DSOS
@@ -32,53 +38,84 @@ exceptions:
3238
- GDB
3339
- GET
3440
- GHSA
41+
- GNU
42+
- GPG
43+
- GPL
3544
- GPU
45+
- GRUB
3646
- GTK
3747
- GUI
3848
- HEAD
3949
- HTML
4050
- HTTP
4151
- HTTPS
52+
- IAM
4253
- IDE
54+
- IP
4355
- JAR
4456
- JSON
4557
- JSX
4658
- LESS
4759
- LLDB
60+
- LTS
61+
- MAC
62+
- MDM
63+
- NAT
4864
- NET
4965
- NFS
5066
- NOTE
67+
- NTLM
5168
- NVDA
69+
- OCI
5270
- OSS
5371
- PATH
5472
- PDF
73+
- PEM
5574
- PHP
5675
- POSIX
5776
- POST
77+
- QEMU
5878
- RAM
5979
- REPL
6080
- REST
81+
- RHEL
82+
- RPM
6183
- RSA
84+
- SAML
85+
- SARIF
6286
- SBOM
87+
- SCIM
6388
- SCM
6489
- SCSS
6590
- SDK
91+
- SLES
92+
- SLSA
93+
- SPDX
6694
- SQL
6795
- SSD
6896
- SSH
6997
- SSL
98+
- SSO
7099
- SVG
71100
- TBD
72101
- TCP
102+
- TCP
73103
- TIP
104+
- TLS
74105
- TODO
75106
- TTY
107+
- TXT
108+
- UDP
76109
- URI
77110
- URL
78111
- USB
79112
- USD
80113
- UTF
114+
- UUID
81115
- VAT
116+
- VLAN
117+
- VM
118+
- VPN
82119
- WSL
83120
- XML
84121
- XSS

_vale/Docker/RecommendedWords.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ swap:
3131
check box: checkbox
3232
check boxes: checkboxes
3333
click: select
34+
distro: distribution
3435
ergo: therefore
3536
file name: filename
3637
keypress: keystroke

_vale/config/vocabularies/Docker/accept.txt

Lines changed: 5 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
A?GPL(v3)?
2-
APIs?
3-
ARM
4-
AWS
1+
(?-i)[A-Z]{2,}s
52
Admin Console
63
Amazon
7-
Ambassador
84
Anchore
95
Apple
106
Artifactory
@@ -14,10 +10,6 @@ Azure
1410
Btrfs
1511
BuildKit
1612
BusyBox
17-
CISA
18-
CNCF
19-
CORS
20-
CVEs?
2113
CentOS
2214
Ceph
2315
Chrome
@@ -27,10 +19,6 @@ Codefresh
2719
Codespaces
2820
CouchDB
2921
Couchbase
30-
DHCP
31-
DNS
32-
DSOS
33-
DVP
3422
Datadog
3523
Ddosify
3624
Debootstrap
@@ -55,91 +43,52 @@ Ethernet
5543
Fargate
5644
Fedora
5745
Flink
58-
GPG
59-
GPUs?
60-
GRUB
6146
GeoNetwork
6247
Git
6348
GitHub( Actions)?
6449
Google
6550
Grafana
6651
Gravatar
67-
HTTP
6852
HyperKit
69-
IAM
70-
IPs?
7153
IPv[46]
7254
IPvlan
7355
Intel
7456
Intune
75-
Jamf
7657
JFrog
58+
Jamf
7759
JetBrains
7860
Kerberos
79-
[Kk]eyrings?
8061
Kitematic
8162
Kubernetes
82-
LTS
8363
Linux
8464
LinuxKit
8565
Logstash
86-
MAC
8766
Mac
8867
Mail(chimp|gun)
89-
MDM
9068
Microsoft
9169
MySQL
92-
NAT
9370
Netplan
9471
Nginx
95-
NTLM
9672
Nuxeo
97-
OAT
9873
OAuth
99-
OCI
10074
OTel
10175
Okta
102-
PAT
103-
PEM
10476
Postgres
10577
PowerShell
10678
Python
107-
QEMU
108-
RHEL
109-
RPM
11079
S3
111-
SAML
112-
SARIF
113-
SBOMs?
114-
SCIM
115-
SDKs?
116-
SLES
117-
SLSA
118-
SPDX
11980
SQLite
120-
SSH
121-
SSO
12281
Slack
12382
Snyk
12483
Solr
12584
SonarQube
12685
Syft
12786
Sysdig
128-
TCP
129-
TLS
130-
TXT
13187
Testcontainers
13288
Traefik
133-
UDP
134-
URLs?
135-
UUID
13689
Ubuntu
13790
Unix
138-
VLAN
139-
VM
14091
VMware
141-
VPN
142-
WSL
14392
Wasm
14493
Windows
14594
WireMock
@@ -148,12 +97,13 @@ Zsh
14897
[Bb]uildx
14998
[Cc]odenames?
15099
[Cc]ompose
151-
[Dd]istros
100+
[Dd]istroless
152101
[Ff]ilepaths?
153102
[Ff]iletypes?
154103
[GgCc]oroutine
155104
[Hh]ostname
156105
[Ii]nfosec
106+
[Kk]eyrings?
157107
[Ll]oopback
158108
[Mm]oby
159109
[Oo]nboarding
@@ -165,8 +115,8 @@ Zsh
165115
[Ss]wappable
166116
[Ss]warm
167117
[Tt]oolchains?
168-
[Vv]irtualize
169118
[Vv]irtiofs
119+
[Vv]irtualize
170120
[Ww]alkthrough
171121
cgroup
172122
config

0 commit comments

Comments
 (0)