dockerenv

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package dockerenv points testcontainers at the active Docker context.

It lives apart from storetest because storetest imports atepg, so atepg cannot import storetest back, and both need this before starting a container.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Configure

func Configure(ctx context.Context) error

Configure sets the environment testcontainers reads to find Docker, unless it is already set. testcontainers-go resolves the daemon from DOCKER_HOST and its own probe list; it never consults the Docker CLI context, so a working `docker` command is not enough on its own.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL