Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running '/bin/cat /dev/zero' in a container kills Docker with 'Signal 9' #5

Closed
shykes opened this issue Jan 27, 2013 · 3 comments
Closed

Comments

@shykes
Copy link
Contributor

shykes commented Jan 27, 2013

When I create a new container and run the command '/bin/cat /dev/zero' inside it, it runs for approximately 2-5 seconds, then Docker prints 'Signal 9' and exits.

I could reproduce this reliably with the same command, but could not reproduce it with any other command. In particular, short-lived commands (eg. '/bin/touch /foobar') run properly without crashing, as well as other long-lived commands (eg. '/bin/sleep 10').

@ghost ghost assigned aluzzardi Jan 27, 2013
@jpetazzo
Copy link
Contributor

Couldn't reproduce it (tried docker run base cat /dev/zero and docker run -a -t -i cat /dev/zero).

If you remember how you did it and could try again, that'd be great!

@shykes
Copy link
Contributor Author

shykes commented Mar 15, 2013

All my notes are in the issue. If you can't reproduce, it's very possible
it was fixed - this bug was approximately 150 commits ago :)

On Thu, Mar 14, 2013 at 6:00 PM, jpetazzo notifications@github.com wrote:

Couldn't reproduce it (tried docker run base cat /dev/zero and docker run
-a -t -i cat /dev/zero).

If you remember how you did it and could try again, that'd be great!


Reply to this email directly or view it on GitHubhttps://github.com//issues/5#issuecomment-14938663
.

@jpetazzo
Copy link
Contributor

Boldly closing as "could not reproduce", then :-)

creack referenced this issue in creack/docker Feb 12, 2014
Add comment clarifying null termination
proppy pushed a commit to proppy/docker that referenced this issue Jul 24, 2014
Update events to consume the json stream and not buffer in memory
dmcgowan referenced this issue in dmcgowan/docker Aug 29, 2014
Set content-type to json on v2 registry GET manifest
miminar referenced this issue in miminar/docker Feb 3, 2015
Add --add-registry and --block-registry options to docker daemon
squaremo pushed a commit to squaremo/docker that referenced this issue Apr 15, 2015
mavenugo pushed a commit to mavenugo/docker that referenced this issue May 8, 2015
aanand pushed a commit to aanand/docker that referenced this issue Oct 31, 2016
rtyler pushed a commit to freebsd-docker/docker that referenced this issue Sep 5, 2017
Forward-porting changes for FreeBSD on v17.05.0-ce
thaJeztah pushed a commit to thaJeztah/docker that referenced this issue Jul 4, 2018
thaJeztah added a commit that referenced this issue Oct 4, 2021
ndeloof pushed a commit to ndeloof/docker that referenced this issue Jul 6, 2022
Create the containerd image service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants