Skip to content

driver(docker-container): fix incorrect path when writing certs#1831

Merged
crazy-max merged 1 commit intodocker:masterfrom
crazy-max:fix-ctn-certs-path
May 26, 2023
Merged

driver(docker-container): fix incorrect path when writing certs#1831
crazy-max merged 1 commit intodocker:masterfrom
crazy-max:fix-ctn-certs-path

Conversation

@crazy-max
Copy link
Copy Markdown
Member

fixes #1827

Replace invalid characters in the name of the base directory of certificates using the name of the registry which can contain for example a colon when the port is specified.

Replace invalid characters in the name of the base directory of
certificates using the name of the registry which can contain
for example a colon when the port is specified.

Signed-off-by: CrazyMax <[email protected]>
continue
}
pfx := path.Join("certs", regName)
pfx := path.Join("certs", reInvalidCertsDir.ReplaceAllString(regName, "_"))
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@jedevc jedevc added this to the v0.11.0 milestone May 26, 2023
@crazy-max crazy-max merged commit 17bdbbd into docker:master May 26, 2023
@crazy-max crazy-max deleted the fix-ctn-certs-path branch May 26, 2023 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docker buildx build error "The directory name is invalid."

3 participants