dcompat

package
v0.0.0-...-3b91d86 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecConfig

ExecConfig converts an ExecConfig to be compatible with the provided client's version, and returns a new config.

This function assumes that the exec will run on a "sane" configuration, with common utilities like sh (POSIX), cd, etc.

Currently, this function does the following:

  • Docker API 1.35 introduces exec working dirs. For versions below 1.35, sh is used to cd into a directory first instead of being done by the Docker daemon.

func Wrap

Wrap wraps a Docker client with compatibility fixes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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