cli
cli copied to clipboard
The Docker CLI
### Description ```ts this.transport = new StdioClientTransport({ "command": "docker", "args": [ "mcp", "gateway", "run" ] }); await this.mcp.connect(this.transport); const toolsResult = await this.mcp.listTools(); ``` Error: ``` docker: unknown command: docker...
### Description Hello, I hope you’re doing well. I’m using `Docker Swarm`, which I really appreciate overall. However, I’ve run into an issue that, in my opinion, shouldn’t even exist...
### Description The Docker CLI defaults to using a local daemon through a unix-socket (Linux, macOS) or named pipe (Windows), but it can be configured to use a different connection,...
- [x] https://github.com/docker/cli/pull/5942 - [x] https://github.com/docker/cli/pull/6081 - [x] https://github.com/docker/cli/pull/6174 - [x] https://github.com/docker/cli/pull/6327 - [x] https://github.com/docker/cli/pull/6349 - [x] https://github.com/docker/cli/pull/6363 - [x] https://github.com/docker/cli/pull/6372 - [x] https://github.com/docker/cli/pull/6507 Really (REALLY) work in progress; slowly...
Implements #6103 Allows users to use a credential helper that does not live in path. The underlying credentials helper library uses os/exec exec.Command so this should be safe to do....
As an opener, I want to make it clear that this is 100% a self-motivated change; I am not making this change on behalf of Docker Inc, nor does my...
Pull request https://github.com/moby/moby/pull/40007 implemented a "magic" `host-gateway` value to allow users to add `host.docker.internal` to `/etc/hosts` in containers, mapping it to the gateway IP address (the IP address itself can...
**- What I did** Added a note to clarify that container names and IDs are interchangeable in `docker stop` / `docker container stop`. **- How I did it** Edited [container_stop.md](https://github.com/docker/cli/blob/master/docs/reference/commandline/stop.md)...
While the "-modfile=vendor.mod" is slightly more correct, using a symlink allows for most of the go tools to work "as usual", just without an acual `go.mod` being committed in the...
**- What I did** Prior to this change, `docker image load` and `docker image save` accept only a single platform via the `--platform` option. This change adds support for multiple...