cli
cli copied to clipboard
The Docker CLI
I have a alias like ``` function dup(){ docker stop $(docker ps -q) docker container prune -f docker image prune -f docker image rm -f some-image some-image2 docker-compose up --build...
**Description** Using `docker login` with a username that contains the ampersand (&) in a private registry not working. OS: Ubuntu 18.04 Shell: Bash Docker Version: 20.10.16 The ampersand is always...
**Description** Some containers make `docker` commands to hang. Example: ``` # docker ps -a | grep ce59 ce59e058f135 REDACTED "/bin/bash -c 'java …" 5 days ago Created k8s_basket-api_basket-api-bugfix-2991-correcting-taxrate-59f88d7ccf-4vfqv_com-next-dev_68bf8a2b-2830-4b9d-b4dc-fb7ccdc24457_0 ``` This...
**- What I did** Added `--all` to `docker kill`. This allows a user to easily send a signal to all running containers. **- How I did it** I had made...
relates to: - https://github.com/docker/cli/issues/3231 - https://github.com/docker/cli/issues/3441 - https://github.com/moby/moby/issues/42707 The `TestInitTtySizeErrors` test is failing frequently (see https://github.com/docker/cli/issues/3441), and it looks like it's not just a flaky test, but a bug /...
https://github.com/pkg/errors is deprecated, archived, and in maintenance mode, since Go errors natively support wrapping since Go 1.13. There are about 200 files in this repo that depend on this package...
https://github.com/docker/cli/blob/a32cd16160f1b41c1c4ae7bee4dac929d1484e59/cli/command/system/prune.go#L131 Currently is not possible to execute prune operations using filters to exclude with "OR" logic. Assume one would like docker system prune to exclude all resources with either one...
**Description** `ARG` commands evaluate to different things in multi-stage builds on macOS (Docker Desktop `20.10.13`) and Linux (`20.10.14`). **Steps to reproduce the issue:** 1. ```dockerfile FROM alpine:latest as base ARG...
**Steps to reproduce the issue:** 1. Build a local image that `FROM image_foo` 2. Run a container with the local image 3. Execute `docker image prune -a` **Describe the results...
**- What I did** Made `ParseSecurityOpts` a public function and introduced relative path solver function as parameter, so it can be used by docker/compose. This will avoid code duplication [here](https://github.com/docker/compose/tree/v2/pkg/compose/create.go#L393)...