cli
cli copied to clipboard
The Docker CLI
### Description `docker stats` (all containers) correctly reacts to Ctrl+C However, invoking it for a specific container with `docker stats ` doesn't properly respect the termination signal - stats are...
### Description I found [docker/cli/pull/2541](https://github.com/docker/cli/pull/2541) but that doesn't extend to the cli, just the docker/cli module. My use case is that the hard-coded ``` ConnectTimeout=30 ``` is too short. Alternatively,...
### Description The best practice when creating a temporary file is not only to generate a filename of a file that does not already exist, but also to create/open the...
**- What I did** Modified the fish shell completion for `docker cp` such that it completes running container IDs as well as local file paths. **- How I did it**...
**Description** Setting a Docker context with `docker context use` shares the used context between terminal sessions. This is quite dangerous IMHO and almost made me to mess up a production...
### Description We had built an image for platform linux/arm64 using docker buildx on amd64 machine. We were unable to see the layer chainID information for this image in metadata.db...
### Description The documentation for `--type` just says `Return JSON for specified type`. Could we improve this to include all the types or at least some of the commonly used...
## Enhance docker system prune performance via concurrent pruning ### Refactored the runPrune function to execute pruning operations concurrently: - Added sync.WaitGroup to orchestrate goroutines - Used sync/atomic for thread-safe...
**- What I did** Enhanced CLI support for .env files by enabling automatic parsing and trimming of surrounding quotes when using --env-file. Reference: [#3630](https://github.com/docker/cli/issues/3630) **- How I did it** Modified...
### Description From https://github.com/moby/moby/issues/48604 by @thaJeztah ### Description I noticed that there's some inconsistency in presentation of arm64 platforms; one of my images was built with `linux/arm64` (no variant), and...