1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon
Sally O'Malley 41de7a18d8 Change 'docker run' exit codes to distinguish docker/contained errors
The purpose of this PR is for users to distinguish Docker errors from
contained command errors.
This PR modifies 'docker run' exit codes to follow the chroot standard
for exit codes.
Exit status:
125 if 'docker run' itself fails
126 if contained command cannot be invoked
127 if contained command cannot be found
the exit status otherwise

Signed-off-by: Sally O'Malley <somalley@redhat.com>
2015-11-04 15:18:50 -05:00
..
daemonbuilder Decouple daemon and container to mount and unmount filesystems. 2015-11-04 12:27:47 -05:00
events refactor access to daemon member EventsService 2015-10-19 09:41:29 -07:00
execdriver Merge pull request #17567 from Microsoft/10662-lxcunittest 2015-10-31 09:40:19 -07:00
graphdriver Revert "dockerversion placeholder for library-import" 2015-10-27 21:23:53 -04:00
links
logger increase the maxJSONDecodeRetry in json log reader 2015-11-02 17:51:22 +08:00
network Modify IPAMConfig structure json tags 2015-10-30 12:57:49 -07:00
archive.go Remove further references to the daemon within containers. 2015-11-04 12:28:54 -05:00
archive_unix.go Windows: Add volume support 2015-10-22 10:42:53 -07:00
archive_windows.go
attach.go Decouple daemon and container to configure logging drivers. 2015-11-04 12:27:49 -05:00
changes.go Remove unnecessary Container.changes function. 2015-11-04 12:27:48 -05:00
commit.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
config.go Enhancing --cluster-advertise to support <interface-name> 2015-10-27 11:03:22 -07:00
config_experimental.go Add user namespace enable flag --userns-remap in experimental build 2015-10-09 20:50:05 -04:00
config_stub.go Add user namespace enable flag --userns-remap in experimental build 2015-10-09 20:50:05 -04:00
config_unix.go Add user namespace (mapping) support to the Docker engine 2015-10-09 17:47:37 -04:00
config_windows.go
container.go Remove further references to the daemon within containers. 2015-11-04 12:28:54 -05:00
container_unit_test.go
container_unix.go Remove further references to the daemon within containers. 2015-11-04 12:28:54 -05:00
container_windows.go Remove further references to the daemon within containers. 2015-11-04 12:28:54 -05:00
create.go Remove further references to the daemon within containers. 2015-11-04 12:28:54 -05:00
create_unix.go Remove further references to the daemon within containers. 2015-11-04 12:28:54 -05:00
create_windows.go Remove further references to the daemon within containers. 2015-11-04 12:28:54 -05:00
daemon.go Remove further references to the daemon within containers. 2015-11-04 12:28:54 -05:00
daemon_aufs.go
daemon_btrfs.go
daemon_devicemapper.go
daemon_experimental.go Add user namespace enable flag --userns-remap in experimental build 2015-10-09 20:50:05 -04:00
daemon_linux.go Force IPC mount to unmount on daemon shutdown/init 2015-10-30 15:41:48 -04:00
daemon_linux_test.go Do not try to cleanupMounts if daemon.repository is empty 2015-09-29 11:30:18 +08:00
daemon_no_aufs.go
daemon_overlay.go
daemon_stub.go Add user namespace enable flag --userns-remap in experimental build 2015-10-09 20:50:05 -04:00
daemon_test.go Add user namespace (mapping) support to the Docker engine 2015-10-09 17:47:37 -04:00
daemon_unix.go Decouple daemon and container to mount and unmount filesystems. 2015-11-04 12:27:47 -05:00
daemon_unix_test.go
daemon_unsupported.go
daemon_windows.go Decouple daemon and container to mount and unmount filesystems. 2015-11-04 12:27:47 -05:00
daemon_zfs.go
debugtrap_unix.go
debugtrap_unsupported.go
debugtrap_windows.go
delete.go Decouple daemon and container to manage networks. 2015-11-04 12:27:48 -05:00
delete_test.go Do not fail when a container is being removed and we request its delete again. 2015-10-20 18:48:34 -04:00
discovery.go Add TLS support for discovery backend 2015-10-07 16:01:00 -07:00
events.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
exec.go Remove further references to the daemon within containers. 2015-11-04 12:28:54 -05:00
exec_freebsd.go
exec_linux.go
exec_windows.go
export.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
history.go
image_delete.go Fix rmi -f removing multiple tags 2015-10-28 16:07:02 -07:00
info.go Revert "dockerversion placeholder for library-import" 2015-10-27 21:23:53 -04:00
inspect.go Decouple daemon and container to mount and unmount filesystems. 2015-11-04 12:27:47 -05:00
inspect_unix.go Fix go vet warnings 2015-11-02 08:28:34 -08:00
inspect_windows.go Windows: Add volume support 2015-10-22 10:42:53 -07:00
kill.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
list.go Decouple daemon and container to mount and unmount filesystems. 2015-11-04 12:27:47 -05:00
logdrivers_linux.go Add Splunk logging driver #16207 2015-10-23 13:37:53 -07:00
logdrivers_windows.go
logs.go Decouple daemon and container to configure logging drivers. 2015-11-04 12:27:49 -05:00
monitor.go Change 'docker run' exit codes to distinguish docker/contained errors 2015-11-04 15:18:50 -05:00
mounts.go Remove further references to the daemon within containers. 2015-11-04 12:28:54 -05:00
network.go Decouple daemon and container to manage networks. 2015-11-04 12:27:48 -05:00
pause.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
README.md
rename.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
resize.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
restart.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
start.go Change 'docker run' exit codes to distinguish docker/contained errors 2015-11-04 15:18:50 -05:00
state.go Decouple daemon and container to stop and kill containers. 2015-11-04 12:27:47 -05:00
state_test.go Move setRunningLocking to test code 2015-09-28 13:48:12 -07:00
stats.go Make the stats collector to collect network stats. 2015-11-02 21:06:44 -05:00
stats_collector_unix.go Decouple daemon and container from the stats collector. 2015-11-04 12:27:49 -05:00
stats_collector_windows.go Remove further references to the daemon within containers. 2015-11-04 12:28:54 -05:00
stats_freebsd.go
stats_linux.go
stats_windows.go
stop.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
top_unix.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
top_windows.go Revert "Merge pull request #16228 from duglin/ContextualizeEvents" 2015-09-29 14:26:51 -04:00
unpause.go Decouple daemon and container to log events. 2015-11-04 12:27:48 -05:00
utils_freebsd.go
utils_linux.go
utils_nounix.go
utils_test.go
volumes.go Windows: Add volume support 2015-10-22 10:42:53 -07:00
volumes_unit_test.go Windows: Add volume support 2015-10-22 10:42:53 -07:00
volumes_unix.go Remove further references to the daemon within containers. 2015-11-04 12:28:54 -05:00
volumes_windows.go Remove further references to the daemon within containers. 2015-11-04 12:28:54 -05:00
wait.go Revert "Merge pull request #16228 from duglin/ContextualizeEvents" 2015-09-29 14:26:51 -04:00

This directory contains code pertaining to running containers and storing images

Code pertaining to running containers:

  • execdriver

Code pertaining to storing images:

  • graphdriver