moby: Containers are created with ExitCode=0

Output of docker version:

Client:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Sat Mar 12 19:18:57 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.10.3
 API version:  1.22
 Go version:   go1.5.3
 Git commit:   20f81dd
 Built:        Sat Mar 12 19:18:57 2016
 OS/Arch:      linux/amd64

Output of docker info:

Containers: 14
 Running: 0
 Paused: 0
 Stopped: 14
Images: 80
Server Version: 1.10.3
Storage Driver: devicemapper
 Pool Name: docker-8:2-25297148-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 8.483 GB
 Data Space Total: 107.4 GB
 Data Space Available: 98.89 GB
 Metadata Space Used: 13.79 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.134 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 WARNING: Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning.
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.119 (2016-03-04)
Execution Driver: native-0.2
Logging Driver: json-file
Plugins: 
 Volume: local
 Network: null host bridge
Kernel Version: 4.4.5-1-ARCH
Operating System: Arch Linux
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 15.58 GiB
Name: dougdev
ID: TOIW:WU7N:I7X2:5S5R:Y6UF:QEUV:LQLL:HIZN:W5CR:NN6K:7644:7AXP

Steps to reproduce the issue:

  1. docker create --name test debian
  2. docker ps -a --filter exited=0

Describe the results you received:

The newly created container is in the list

Describe the results you expected:

The newly created container should not be in the list. The ExitCode attribute of a newly created container should be NULL.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (15 by maintainers)

Most upvoted comments

@boynux All yours!