DockerCLI/cli
Cory Snider 9b5ceb52b0 cli/command/container: exit 126 on EISDIR error
The error returned from "os/exec".Command when attempting to execute a
directory has been changed from syscall.EACCESS to syscall.EISDIR on
Go 1.20. 2b8f214094
Consequently, any runc runtime built against Go 1.20 will return an
error containing 'is a directory' and not 'permission denied'. Update
the string matching so the CLI exits with status code 126 on 'is a
directory' errors (EISDIR) in addition to 'permission denied' (EACCESS).

Signed-off-by: Cory Snider <csnider@mirantis.com>
2023-02-03 17:55:43 -05:00
..
command cli/command/container: exit 126 on EISDIR error 2023-02-03 17:55:43 -05:00
compose cli/compose: use strings.Cut 2022-12-29 15:19:31 +01:00
config Fix issue where one bad credential helper causes none to be returned 2023-01-31 17:14:30 +01:00
connhelper Fix ssh process killed when context is done 2022-12-04 22:09:17 -05:00
context cli/command/context: context ls: always show current context 2022-11-28 23:41:29 +01:00
debug updated vendoring 2017-09-01 19:41:06 -04:00
flags cmd: set double quotes as code delimiter 2023-01-06 19:15:33 +01:00
manifest manifest: save raw manifest content on download 2023-01-27 13:56:17 +00:00
registry/client manifest: add support for oci image types 2023-01-27 13:51:57 +00:00
streams update docker, replace github.com/docker/pkg/term, github.com/docker/pkg/mount 2020-04-22 17:16:13 +02:00
trust format code with gofumpt 2022-09-30 11:59:11 +02:00
version Move versioning variables to a separate package. 2019-01-29 11:26:40 +00:00
winresources Use goversioninfo to create Windows Version Info 2021-10-11 16:54:22 +02:00
cobra.go Add extra newline after additionalHelp output 2023-01-15 15:23:06 +01:00
cobra_test.go cli: use custom annotation for aliases 2022-06-28 17:32:09 +02:00
error.go Import docker/docker/cli 2017-04-17 17:40:59 -04:00
required.go format (GoDoc) comments with Go 1.19 to prepare for go updates 2022-07-19 19:10:16 +02:00
required_test.go cli: remove deprecated io/ioutil 2022-02-25 15:42:19 +01:00