openwrt / openwrt/docker

Exiting from top causes container to shut down

Open
#47 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
625
Forks
103
Avg merge
3d 22h
Merged PRs (30d)
1

Description

For the previous issue I used top inside the container to determine that something was up with urngd. However, consistently when leaving top with a ctrl + c it causes the container itself to crash.

To replicate:

  1. docker run --rm -it openwrtorg/rootfs
  2. top
  3. ctrl + c
  4. wait 2 seconds

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with docker run --rm -it openwrtorg/rootfs, then run top and exit with Ctrl+C. Investigate why this causes the container to shut down, and consider the issue resolved when leaving top no longer crashes the container.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.