package
0.0.0-20241127172300-ed4baf88fae5
Repository: https://github.com/coder/envbox.git
Documentation: pkg.go.dev
# Packages
Package dockerfake contains logic for mocking out Docker-related functionality.
# Functions
No description provided by the author
No description provided by the author
BoostrapContainer runs a script inside the container as the provided user.
No description provided by the author
CreateContainer creates a sysbox-runc container.
No description provided by the author
ExecContainer runs a command in a container.
ExtractClient returns the DockerClient set on the context.
GetImageMetadata returns metadata about an image such as the UID/GID of the provided username and whether it contains an /sbin/init that we should run.
PruneImage runs a simple 'docker prune'.
PullImage pulls the provided image.
SetContainerQuota writes a quota to its correct location for the inner container.
WaitForDaemon waits for a Docker daemon to startup.
WithClient sets the provided DockerClient on the context.
WriteCertsForRegistry writes the certificates found in the provided directory to the correct subdirectory that the Docker daemon uses when pulling images from the specified private registry.
# Constants
Default CPU period for containers.
# Variables
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
ImagePullProgressFn provides a way for a consumer to process image pull progress.