"docker run -t" exits with return code 0 always (tty-mode) #6259

Closed
blueyed opened this Issue Jun 7, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@blueyed

blueyed commented Jun 7, 2014

TEST CASE:

% docker run -t busybox false
% echo $?
0

% docker run -i -t busybox false
% echo $?
1

There have been some issues being reported in this regard previously, and some commits being made (e.g. #4346), so it might have regressed.

The exit code is reported correctly in docker ps and with docker inspect.

Using Docker 0.12.0.

/cc #354.

@tiborvass

This comment has been minimized.

Show comment
Hide comment
@tiborvass

tiborvass Jul 14, 2014

Collaborator

This has been fixed some time ago, and is definitely fixed in the latest release.
@blueyed please comment if you still see this with Docker 1.1.1.

Collaborator

tiborvass commented Jul 14, 2014

This has been fixed some time ago, and is definitely fixed in the latest release.
@blueyed please comment if you still see this with Docker 1.1.1.

@tiborvass tiborvass closed this Jul 14, 2014

@blueyed

This comment has been minimized.

Show comment
Hide comment
@blueyed

blueyed Jul 14, 2014

I can confirm that this is fixed in 1.1.1.

blueyed commented Jul 14, 2014

I can confirm that this is fixed in 1.1.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment