{"modulePath":"github.com/hyperhq/hypercli","version":"v1.10.16","isLatest":true,"isStandardLibrary":false,"goos":"linux","goarch":"amd64","docs":"# package client\n\nPackage client provides a command-line interface for Docker.\n\nRun \"docker help SUBCOMMAND\" or \"docker SUBCOMMAND --help\" to see more information on any Docker subcommand, including the full list of options supported for the subcommand. See [https://docs.docker.com/installation/](https://docs.docker.com/installation/) for instructions on installing Docker.\n\n## Constants\n\n```go\nconst (\n\tTARINFO_HEADER = iota\n\tTARINFO_FILE\n\tTARINFO_PAD\n\tTARINFO_UPLOADED\n\tTARINFO_FINISHED\n)\n```\n\n```go\nconst ComposeFipAuto = \"auto\"\n```\n\n## Functions\n\n```go\nfunc ParseExec(cmd *flag.FlagSet, args []string) (*types.ExecConfig, error)\n```\nParseExec parses the specified args for the specified command and generates an ExecConfig from it. If the minimal number of specified args is not right or if specified args are not valid, it will return an error.\n\n## Types\n\n```go\ntype DockerCli struct {\n\t// contains filtered or unexported fields\n}\n```\nDockerCli represents the docker command line client. Instances of the client can be returned from NewDockerCli.\n\n```go\nfunc NewDockerCli(in io.ReadCloser, out, err io.Writer, clientFlags *cli.ClientFlags) *DockerCli\n```\nNewDockerCli returns a DockerCli instance with IO output and error streams set by in, out and err. The key file, protocol (i.e. unix) and address are passed in as strings, along with the tls.Config. If the tls.Config is set the client scheme will be set to https. The client will be given a 32-second timeout (see [https://github.com/hyperhq/hypercli/pull/8035](https://github.com/hyperhq/hypercli/pull/8035)).\n\n```go\nfunc (cli *DockerCli) Build(args ...string) error\n```\nCmdBuild builds a new image from the source code at a given path.\n\nIf '-' is provided instead of a path or URL, Docker will build an image from either a Dockerfile or tar archive read from STDIN.\n\nUsage: docker build \\[OPTIONS] PATH | URL | -\n\n```go\nfunc (cli *DockerCli) CheckTtyInput(attachStdin, ttyMode bool) error\n```\nCheckTtyInput checks if we are trying to attach to a container tty from a non-tty client input stream, and if so, returns an error.\n\n```go\nfunc (cli *DockerCli) CmdAttach(args ...string) error\n```\nCmdAttach attaches to a running container.\n\nUsage: docker attach \\[OPTIONS] CONTAINER\n\n```go\nfunc (cli *DockerCli) CmdCommit(args ...string) error\n```\nCmdCommit creates a new image from a container's changes.\n\nUsage: hyper commit \\[OPTIONS] CONTAINER \\[REPOSITORY\\[:TAG]]\n\n```go\nfunc (cli *DockerCli) CmdCompose(args ...string) error\n```\nCmdCompose is the parent subcommand for all compose commands\n\nUsage: hyper compose \\\u003cCOMMAND\u003e \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdComposeCreate(args ...string) error\n```\nCmdComposeCreate\n\nUsage: hyper compose create \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdComposeDown(args ...string) error\n```\nCmdComposeDown\n\nUsage: hyper compose down \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdComposeKill(args ...string) error\n```\nCmdComposeKill\n\nUsage: hyper compose kill \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdComposePs(args ...string) error\n```\nCmdComposePs\n\nUsage: hyper compose ps \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdComposePull(args ...string) error\n```\nCmdComposePull\n\nUsage: hyper compose pull \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdComposeRm(args ...string) error\n```\nCmdComposeRm\n\nUsage: hyper compose rm \\[OPTIONS] \\[SERVICE]\n\n```go\nfunc (cli *DockerCli) CmdComposeRun(args ...string) error\n```\nCmdComposeRun\n\nUsage: hyper compose run \\[OPTIONS] SERVICE \\[COMMAND] \\[ARGS...]\n\n```go\nfunc (cli *DockerCli) CmdComposeScale(args ...string) error\n```\nCmdComposeScale\n\nUsage: hyper compose scale \\[OPTIONS] \\[SERVICE=NUM...]\n\n```go\nfunc (cli *DockerCli) CmdComposeStart(args ...string) error\n```\nCmdComposeStart\n\nUsage: hyper compose start \\[OPTIONS] \\[SERVICE]\n\n```go\nfunc (cli *DockerCli) CmdComposeStop(args ...string) error\n```\nCmdComposeStop\n\nUsage: hyper compose stop \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdComposeUp(args ...string) error\n```\nCmdComposeUp\n\nUsage: hyper compose up \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdConfig(args ...string) error\n```\nCmdConfig\n\nUsage: hyper config\n\n```go\nfunc (cli *DockerCli) CmdCreate(args ...string) error\n```\nCmdCreate creates a new container from a given image.\n\nUsage: docker create \\[OPTIONS] IMAGE \\[COMMAND] \\[ARG...]\n\n```go\nfunc (cli *DockerCli) CmdCron(args ...string) error\n```\nCmdCron is the parent subcommand for all cron commands\n\nUsage: hyper cron \\\u003cCOMMAND\u003e \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdCronCreate(args ...string) error\n```\nCmdCronCreate creates a new cron with a given name\n\nUsage: hyper cron create \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdCronHistory(args ...string) error\n```\nCmdCronHistory\n\nUsage: hyper cron history \\[OPTIONS] CRON\n\n```go\nfunc (cli *DockerCli) CmdCronInspect(args ...string) error\n```\nCmdCronInspect\n\nUsage: hyper cron inspect \\[OPTIONS] CRON \\[CRON...]\n\n```go\nfunc (cli *DockerCli) CmdCronLs(args ...string) error\n```\nCmdCronLs lists all the crons\n\nUsage: hyper cron ls \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdCronRm(args ...string) error\n```\nCmdCronDelete deletes one or more crons\n\nUsage: hyper cron rm cron \\[cron...]\n\n```go\nfunc (cli *DockerCli) CmdExec(args ...string) error\n```\nCmdExec runs a command in a running container.\n\nUsage: docker exec \\[OPTIONS] CONTAINER COMMAND \\[ARG...]\n\n```go\nfunc (cli *DockerCli) CmdFip(args ...string) error\n```\nCmdFip is the parent subcommand for all fip commands\n\nUsage: docker fip \\\u003cCOMMAND\u003e \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdFipAllocate(args ...string) error\n```\nCmdNetworkCreate creates a new fip with a given name\n\nUsage: docker fip create \\[OPTIONS] COUNT\n\n```go\nfunc (cli *DockerCli) CmdFipAttach(args ...string) error\n```\nCmdFipAttach connects a container to a floating IP\n\nUsage: docker fip attach \\[OPTIONS] \\\u003cFIP\u003e \\\u003cCONTAINER\u003e\n\n```go\nfunc (cli *DockerCli) CmdFipDetach(args ...string) error\n```\nCmdFipDetach disconnects a container from a floating IP\n\nUsage: docker fip detach \\\u003cCONTAINER\u003e\n\n```go\nfunc (cli *DockerCli) CmdFipLs(args ...string) error\n```\nCmdFipLs lists all the fips\n\nUsage: docker fip ls \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdFipName(args ...string) error\n```\n\n```go\nfunc (cli *DockerCli) CmdFipRelease(args ...string) error\n```\nCmdFipRelease deletes one or more fips\n\nUsage: docker fip release FIP \\[FIP...]\n\n```go\nfunc (cli *DockerCli) CmdFunc(args ...string) error\n```\nCmdFunc is the parent subcommand for all func commands\n\nUsage: docker func \\\u003cCOMMAND\u003e \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdFuncCall(args ...string) error\n```\nCmdFuncCall call a func\n\nUsage: hyper func call NAME\n\n```go\nfunc (cli *DockerCli) CmdFuncCreate(args ...string) error\n```\nCmdFuncCreate creates a new func with a given name\n\nUsage: hyper func create \\[OPTIONS] IMAGE \\[COMMAND]\n\n```go\nfunc (cli *DockerCli) CmdFuncGet(args ...string) error\n```\nCmdFuncGet Get the return of a func call\n\nUsage: hyper func get \\[OPTIONS] CALL\\_ID\n\n```go\nfunc (cli *DockerCli) CmdFuncInspect(args ...string) error\n```\nCmdFuncInspect\n\nUsage: docker func inspect \\[OPTIONS] NAME \\[NAME...]\n\n```go\nfunc (cli *DockerCli) CmdFuncLogs(args ...string) error\n```\nCmdFuncLogs Get the return of a func call\n\nUsage: hyper func get \\[OPTIONS] NAME\n\n```go\nfunc (cli *DockerCli) CmdFuncLs(args ...string) error\n```\nCmdFuncLs lists all the funcs\n\nUsage: hyper func ls \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdFuncRm(args ...string) error\n```\nCmdFuncDelete deletes one or more funcs\n\nUsage: hyper func rm NAME \\[NAME...]\n\n```go\nfunc (cli *DockerCli) CmdFuncStatus(args ...string) error\n```\nCmdFuncStatus Status the return of a func call\n\nUsage: hyper func status \\[OPTIONS] NAME\n\n```go\nfunc (cli *DockerCli) CmdFuncUpdate(args ...string) error\n```\nCmdFuncUpdate updates a func with a given name\n\nUsage: hyper func update \\[OPTIONS] NAME\n\n```go\nfunc (cli *DockerCli) CmdHistory(args ...string) error\n```\nCmdHistory shows the history of an image.\n\nUsage: docker history \\[OPTIONS] IMAGE\n\n```go\nfunc (cli *DockerCli) CmdImages(args ...string) error\n```\nCmdImages lists the images in a specified repository, or all top-level images if no repository is specified.\n\nUsage: docker images \\[OPTIONS] \\[REPOSITORY]\n\n```go\nfunc (cli *DockerCli) CmdInfo(args ...string) error\n```\nCmdInfo displays system-wide information.\n\nUsage: docker info\n\n```go\nfunc (cli *DockerCli) CmdInspect(args ...string) error\n```\nCmdInspect displays low-level information on one or more containers or images.\n\nUsage: docker inspect \\[OPTIONS] CONTAINER|IMAGE \\[CONTAINER|IMAGE...]\n\n```go\nfunc (cli *DockerCli) CmdKill(args ...string) error\n```\nCmdKill kills one or more running container using SIGKILL or a specified signal.\n\nUsage: docker kill \\[OPTIONS] CONTAINER \\[CONTAINER...]\n\n```go\nfunc (cli *DockerCli) CmdLoad(args ...string) error\n```\nCmdLoad load a local image or a tar file\n\nThe tar archive is read from STDIN by default, or from a tar archive file.\n\nUsage: docker load \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdLogin(args ...string) error\n```\nCmdLogin logs in or registers a user to a Docker registry service.\n\nIf no server is specified, the user will be logged into or registered to the registry's index server.\n\nUsage: docker login SERVER\n\n```go\nfunc (cli *DockerCli) CmdLogout(args ...string) error\n```\nCmdLogout logs a user out from a Docker registry.\n\nIf no server is specified, the user will be logged out from the registry's index server.\n\nUsage: docker logout \\[SERVER]\n\n```go\nfunc (cli *DockerCli) CmdLogs(args ...string) error\n```\nCmdLogs fetches the logs of a given container.\n\ndocker logs \\[OPTIONS] CONTAINER\n\n```go\nfunc (cli *DockerCli) CmdPort(args ...string) error\n```\nCmdPort lists port mappings for a container. If a private port is specified, it also shows the public-facing port that is NATed to the private port.\n\nUsage: docker port CONTAINER \\[PRIVATE\\_PORT\\[/PROTO]]\n\n```go\nfunc (cli *DockerCli) CmdPs(args ...string) error\n```\nCmdPs outputs a list of Docker containers.\n\nUsage: docker ps \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdPull(args ...string) error\n```\nCmdPull pulls an image or a repository from the registry.\n\nUsage: docker pull \\[OPTIONS] IMAGENAME\\[:TAG|@DIGEST]\n\n```go\nfunc (cli *DockerCli) CmdPush(args ...string) error\n```\nCmdPush pushes an image or repository to the registry.\n\nUsage: hyper push NAME\\[:TAG]\n\n```go\nfunc (cli *DockerCli) CmdRename(args ...string) error\n```\nCmdRename renames a container.\n\nUsage: docker rename OLD\\_NAME NEW\\_NAME\n\n```go\nfunc (cli *DockerCli) CmdRestart(args ...string) error\n```\nCmdRestart restarts one or more containers.\n\nUsage: docker restart \\[OPTIONS] CONTAINER \\[CONTAINER...]\n\n```go\nfunc (cli *DockerCli) CmdRm(args ...string) error\n```\nCmdRm removes one or more containers.\n\nUsage: docker rm \\[OPTIONS] CONTAINER \\[CONTAINER...]\n\n```go\nfunc (cli *DockerCli) CmdRmi(args ...string) error\n```\nCmdRmi removes all images with the specified name(s).\n\nUsage: docker rmi \\[OPTIONS] IMAGE \\[IMAGE...]\n\n```go\nfunc (cli *DockerCli) CmdRun(args ...string) error\n```\nCmdRun runs a command in a new container.\n\nUsage: docker run \\[OPTIONS] IMAGE \\[COMMAND] \\[ARG...]\n\n```go\nfunc (cli *DockerCli) CmdSearch(args ...string) error\n```\nCmdSearch searches the Docker Hub for images.\n\nUsage: docker search \\[OPTIONS] TERM\n\n```go\nfunc (cli *DockerCli) CmdService(args ...string) error\n```\nCmdService is the parent subcommand for all service commands\n\nUsage: docker service \\\u003cCOMMAND\u003e \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdServiceAttach_fip(args ...string) error\n```\nCmdServiceAttach\\_fip\n\nUsage: hyper service attach\\_fip \\[OPTIONS] SERVICE \\[SERVICE...]\n\n```go\nfunc (cli *DockerCli) CmdServiceCreate(args ...string) error\n```\nCmdServiceCreate creates a new service with a given name\n\nUsage: hyper service create \\[OPTIONS] COUNT\n\n```go\nfunc (cli *DockerCli) CmdServiceDetach_fip(args ...string) error\n```\nCmdServiceDetach\\_fip\n\nUsage: hyper service detach\\_fip \\[OPTIONS] SERVICE \\[SERVICE...]\n\n```go\nfunc (cli *DockerCli) CmdServiceInspect(args ...string) error\n```\nCmdServiceInspect\n\nUsage: docker service inspect \\[OPTIONS] service \\[service...]\n\n```go\nfunc (cli *DockerCli) CmdServiceLs(args ...string) error\n```\nCmdServiceLs lists all the services\n\nUsage: hyper service ls \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdServiceRm(args ...string) error\n```\nCmdServiceDelete deletes one or more services\n\nUsage: hyper service rm service \\[service...]\n\n```go\nfunc (cli *DockerCli) CmdServiceRolling_update(args ...string) error\n```\nCmdServiceRolling\\_update\n\nUsage: hyper service rolling-update \\[OPTIONS] SERVICE \\[SERVICE...]\n\n```go\nfunc (cli *DockerCli) CmdServiceScale(args ...string) error\n```\nCmdServiceScale\n\nUsage: hyper service scale \\[OPTIONS] SERVICE=REPLICAS \\[SERVICE=REPLICAS...]\n\n```go\nfunc (cli *DockerCli) CmdSg(args ...string) error\n```\nCmdSg is the parent subcommand for all sg commands\n\nUsage: hyper sg \\\u003cCOMMAND\u003e \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdSgCreate(args ...string) error\n```\nCmdSgCreate creates a new sg with a given name\n\nUsage: hyper sg create \\[OPTIONS] NAME\n\n```go\nfunc (cli *DockerCli) CmdSgInspect(args ...string) error\n```\nCmdSgInspect Inspect security groups\n\nUsage: hyper sg inspect \\[OPTIONS] NAME\n\n```go\nfunc (cli *DockerCli) CmdSgLs(args ...string) error\n```\nCmdSgLs list security groups\n\nUsage: hyper sg ls \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdSgRm(args ...string) error\n```\nCmdSgRm removes a sg with a given name\n\nUsage: hyper sg rm \\[OPTIONS] NAME\n\n```go\nfunc (cli *DockerCli) CmdSgUpdate(args ...string) error\n```\nCmdSgUpdate Update the security group\n\nUsage: hyper sg update \\[OPTIONS] NAME\n\n```go\nfunc (cli *DockerCli) CmdSnapshot(args ...string) error\n```\nCmdSnapshot is the parent subcommand for all snapshot commands\n\nUsage: docker snapshot \\\u003cCOMMAND\u003e \\\u003cOPTS\u003e\n\n```go\nfunc (cli *DockerCli) CmdSnapshotCreate(args ...string) error\n```\nCmdSnapshotCreate creates a new snapshot.\n\nUsage: docker snapshot create \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdSnapshotInspect(args ...string) error\n```\nCmdSnapshotInspect displays low-level information on one or more snapshots.\n\nUsage: docker snapshot inspect \\[OPTIONS] snapshot \\[snapshot...]\n\n```go\nfunc (cli *DockerCli) CmdSnapshotLs(args ...string) error\n```\nCmdSnapshotLs outputs a list of Docker snapshots.\n\nUsage: hyper snapshot ls \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdSnapshotRm(args ...string) error\n```\nCmdSnapshotRm removes one or more snapshots.\n\nUsage: docker snapshot rm snapshot \\[snapshot...]\n\n```go\nfunc (cli *DockerCli) CmdStart(args ...string) error\n```\nCmdStart starts one or more containers.\n\nUsage: docker start \\[OPTIONS] CONTAINER \\[CONTAINER...]\n\n```go\nfunc (cli *DockerCli) CmdStats(args ...string) error\n```\nCmdStats displays a live stream of resource usage statistics for one or more containers.\n\nThis shows real-time information on CPU usage, memory usage, and network I/O.\n\nUsage: hyper stats \\[OPTIONS] \\[CONTAINER...]\n\n```go\nfunc (cli *DockerCli) CmdStop(args ...string) error\n```\nCmdStop stops one or more containers.\n\nA running container is stopped by first sending SIGTERM and then SIGKILL if the container fails to stop within a grace period (the default is 10 seconds).\n\nUsage: docker stop \\[OPTIONS] CONTAINER \\[CONTAINER...]\n\n```go\nfunc (cli *DockerCli) CmdUpdate(args ...string) error\n```\nCmdUpdate updates resources of one or more containers.\n\nUsage: hyper update \\[OPTIONS] CONTAINER \\[CONTAINER...]\n\n```go\nfunc (cli *DockerCli) CmdVersion(args ...string) (err error)\n```\nCmdVersion shows Docker version information.\n\nAvailable version information is shown for: client Docker version, client API version, client Go version, client Git commit, client OS/Arch, server Docker version, server API version, server Go version, server Git commit, and server OS/Arch.\n\nUsage: docker version\n\n```go\nfunc (cli *DockerCli) CmdVolume(args ...string) error\n```\nCmdVolume is the parent subcommand for all volume commands\n\nUsage: docker volume \\\u003cCOMMAND\u003e \\\u003cOPTS\u003e\n\n```go\nfunc (cli *DockerCli) CmdVolumeCreate(args ...string) error\n```\nCmdVolumeCreate creates a new volume.\n\nUsage: docker volume create \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdVolumeInit(args ...string) error\n```\nCmdVolumeInit Initializes one or more volumes.\n\nUsage: docker volume init SOURCE:VOLUME \\[SOURCE:VOLUME...]\n\n```go\nfunc (cli *DockerCli) CmdVolumeInspect(args ...string) error\n```\nCmdVolumeInspect displays low-level information on one or more volumes.\n\nUsage: docker volume inspect \\[OPTIONS] VOLUME \\[VOLUME...]\n\n```go\nfunc (cli *DockerCli) CmdVolumeLs(args ...string) error\n```\nCmdVolumeLs outputs a list of Docker volumes.\n\nUsage: docker volume ls \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) CmdVolumeRm(args ...string) error\n```\nCmdVolumeRm removes one or more volumes.\n\nUsage: docker volume rm VOLUME \\[VOLUME...]\n\n```go\nfunc (cli *DockerCli) CmdWait(args ...string) error\n```\nCmdWait blocks until a container stops, then prints its exit code.\n\nIf more than one container is specified, this will wait synchronously on each container.\n\nUsage: docker wait CONTAINER \\[CONTAINER...]\n\n```go\nfunc (cli *DockerCli) Cp(args ...string) error\n```\nCmdCp copies files/folders to or from a path in a container.\n\nWhen copying from a container, if DEST\\_PATH is '-' the data is written as a tar archive file to STDOUT.\n\nWhen copying to a container, if SRC\\_PATH is '-' the data is read as a tar archive file from STDIN, and the destination CONTAINER:DEST\\_PATH, must specify a directory.\n\nUsage:\n\n\tdocker cp CONTAINER:SRC_PATH DEST_PATH|-\n\tdocker cp SRC_PATH|- CONTAINER:DEST_PATH\n\n```go\nfunc (cli *DockerCli) Create(s project.Service) client.APIClient\n```\n\n```go\nfunc (cli *DockerCli) Diff(args ...string) error\n```\nCmdDiff shows changes on a container's filesystem.\n\nEach changed file is printed on a separate line, prefixed with a single character that indicates the status of the file: C (modified), A (added), or D (deleted).\n\nUsage: docker diff CONTAINER\n\n```go\nfunc (cli *DockerCli) Events(ctx context.Context) (\u003c-chan events.Message, \u003c-chan error)\n```\nEvents returns a stream of events in the daemon. It's up to the caller to close the stream by cancelling the context. Once the stream has been completely read an io.EOF error will be sent over the error channel. If an error is sent all processing will be stopped. It's up to the caller to reopen the stream in the event of an error by reinvoking this method.\n\n```go\nfunc (cli *DockerCli) ExecCmd(ctx context.Context, user, contID string, cmd []string) (string, error)\n```\n\n```go\nfunc (cli *DockerCli) Export(args ...string) error\n```\nCmdExport exports a filesystem as a tar archive.\n\nThe tar archive is streamed to STDOUT by default or written to a file.\n\nUsage: docker export \\[OPTIONS] CONTAINER\n\n```go\nfunc (cli *DockerCli) ImageLoadFromDaemon(ctx context.Context, name string, quiet bool) (*types.ImageLoadResponse, error)\n```\nImageDiff diff an image layers with local and imaged\n\n```go\nfunc (cli *DockerCli) ImageLoadFromTar(ctx context.Context, tr io.Reader, quiet bool) (*types.ImageLoadResponse, error)\n```\n\n```go\nfunc (cli *DockerCli) ImagesFormat() string\n```\nImagesFormat returns the format string specified in the configuration. String contains columns and format specification, for example {{ID}}\\\\t{{Name}}.\n\n```go\nfunc (cli *DockerCli) Import(args ...string) error\n```\nCmdImport creates an empty filesystem image, imports the contents of the tarball into the image, and optionally tags the image.\n\nThe URL argument is the address of a tarball (.tar, .tar.gz, .tgz, .bzip, .tar.xz, .txz) file or a path to local file relative to docker client. If the URL is '-', then the tar file is read from STDIN.\n\nUsage: docker import \\[OPTIONS] file|URL|- \\[REPOSITORY\\[:TAG]]\n\n```go\nfunc (cli *DockerCli) Initialize() error\n```\nInitialize calls the init function that will setup the configuration for the client such as the TLS, tcp and other parameters used to run the client.\n\n```go\nfunc (cli *DockerCli) Network(args ...string) error\n```\nCmdNetwork is the parent subcommand for all network commands\n\nUsage: docker network \\\u003cCOMMAND\u003e \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) NetworkConnect(args ...string) error\n```\nCmdNetworkConnect connects a container to a network\n\nUsage: docker network connect \\[OPTIONS] \\\u003cNETWORK\u003e \\\u003cCONTAINER\u003e\n\n```go\nfunc (cli *DockerCli) NetworkCreate(args ...string) error\n```\nCmdNetworkCreate creates a new network with a given name\n\nUsage: docker network create \\[OPTIONS] \\\u003cNETWORK-NAME\u003e\n\n```go\nfunc (cli *DockerCli) NetworkDisconnect(args ...string) error\n```\nCmdNetworkDisconnect disconnects a container from a network\n\nUsage: docker network disconnect \\\u003cNETWORK\u003e \\\u003cCONTAINER\u003e\n\n```go\nfunc (cli *DockerCli) NetworkInspect(args ...string) error\n```\nCmdNetworkInspect inspects the network object for more details\n\nUsage: docker network inspect \\[OPTIONS] \\\u003cNETWORK\u003e \\[NETWORK...]\n\n```go\nfunc (cli *DockerCli) NetworkLs(args ...string) error\n```\nCmdNetworkLs lists all the networks managed by docker daemon\n\nUsage: docker network ls \\[OPTIONS]\n\n```go\nfunc (cli *DockerCli) NetworkRm(args ...string) error\n```\nCmdNetworkRm deletes one or more networks\n\nUsage: docker network rm NETWORK-NAME|NETWORK-ID \\[NETWORK-NAME|NETWORK-ID...]\n\n```go\nfunc (cli *DockerCli) Pause(args ...string) error\n```\nCmdPause pauses all processes within one or more containers.\n\nUsage: docker pause CONTAINER \\[CONTAINER...]\n\n```go\nfunc (cli *DockerCli) PsFormat() string\n```\nPsFormat returns the format string specified in the configuration. String contains columns and format specification, for example {{ID}}\\\\t{{Name}}.\n\n```go\nfunc (cli *DockerCli) Save(args ...string) error\n```\nCmdSave saves one or more images to a tar archive.\n\nThe tar archive is written to STDOUT by default, or written to a file.\n\nUsage: docker save \\[OPTIONS] IMAGE \\[IMAGE...]\n\n```go\nfunc (cli *DockerCli) Tag(args ...string) error\n```\nCmdTag tags an image into a repository.\n\nUsage: docker tag \\[OPTIONS] IMAGE\\[:TAG] \\[REGISTRYHOST/]\\[USERNAME/]NAME\\[:TAG]\n\n```go\nfunc (cli *DockerCli) Top(args ...string) error\n```\nCmdTop displays the running processes of a container.\n\nUsage: docker top CONTAINER\n\n```go\nfunc (cli *DockerCli) Unpause(args ...string) error\n```\nCmdUnpause unpauses all processes within a container, for one or more containers.\n\nUsage: docker unpause CONTAINER \\[CONTAINER...]\n\n```go\nfunc (cli *DockerCli) VolumesFormat() string\n```\nVolumesFormat returns the format string specified in the configuration. String contains columns and format specification, for example {{ID}}\\\\t{{Name}}.\n\n```go\nfunc (cli *DockerCli) WaitExec(ctx context.Context, execID string) error\n```\n\n```go\ntype InitVolume struct {\n\tSource      string\n\tDestination string\n\tName        string\n}\n```\n\n```go\ntype TarFile struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewTarFile(path string, blockSize int) *TarFile\n```\n\n```go\nfunc (t *TarFile) AddFile(info os.FileInfo, relPath, linkName, path string)\n```\n\n```go\nfunc (t *TarFile) AllocBar(pool *pb.Pool) *pb.ProgressBar\n```\n\n```go\nfunc (t *TarFile) Close() error\n```\n\n```go\nfunc (t *TarFile) Read(p []byte) (n int, err error)\n```\n\n","path":"github.com/hyperhq/hypercli/api/client","name":"client","synopsis":"Package client provides a command-line interface for Docker.","isRedistributable":true}
