ServerInfo returns the server version details for the host this client is connected to
()
| 143 | // ServerInfo returns the server version details for the host this client is |
| 144 | // connected to |
| 145 | func (cli *DockerCli) ServerInfo() ServerInfo { |
| 146 | _ = cli.initialize() |
| 147 | return cli.serverInfo |
| 148 | } |
| 149 | |
| 150 | // BuildKitEnabled returns buildkit is enabled or not. |
| 151 | func (cli *DockerCli) BuildKitEnabled() (bool, error) { |