docker

package
v1.12.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlushConfig

func FlushConfig(cfg map[string]interface{}, configFilePath string) error

FlushConfig flushes the updated/reverted config out to disk

func LoadConfig

func LoadConfig(configFilePath string) (map[string]interface{}, error)

LoadConfig loads the docker config from disk

func UpdateConfig

func UpdateConfig(config map[string]interface{}, runtimeName string, runtimePath string, setAsDefault bool) error

UpdateConfig updates the docker config to include the nvidia runtimes

Types

This section is empty.

Jump to

Keyboard shortcuts

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