Affected by GO-2022-1107
and 3 other vulnerabilities
GO-2022-1107: Container build can leak any path on the host into the container in github.com/docker/docker
GO-2023-1699: Docker Swarm encrypted overlay network may be unauthenticated in github.com/docker/docker
GO-2023-1700: Docker Swarm encrypted overlay network traffic may be unencrypted in github.com/docker/docker
GO-2023-1701: Docker Swarm encrypted overlay network with a single endpoint is unauthenticated in github.com/docker/docker
package
Version:
v20.10.19+incompatible
Opens a new window with list of versions in this module.
Published: Oct 6, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 269
Opens a new window with list of known importers.
Documentation
¶
WithBinaryFiles adds the specified files in the build context, content is binary
WithDockerfile adds the specified content as Dockerfile in the build context
WithFile adds the specified file (with content) in the build context
WithFiles adds the specified files in the build context, content is a string
type Fake struct {
Dir string
}
Fake creates directories that can be used as a build context
New creates a fake build context
Add a file at a path, creating directories where necessary
AsTarReader returns a ReadCloser with the contents of Dir as a tar archive.
Close deletes the context
Source Files
¶
Click to show internal directories.
Click to hide internal directories.