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

timeout 30 sleep 100 parent pid is sleep don't like centos #57

Open
ningmingxiao opened this issue Jul 15, 2022 · 0 comments
Open

timeout 30 sleep 100 parent pid is sleep don't like centos #57

ningmingxiao opened this issue Jul 15, 2022 · 0 comments

Comments

@ningmingxiao
Copy link

docker run -d busybox sh -c "timeout 30 sleep 100"
root      170589  0.0  0.0 704520  5812 ?        Sl   14:18   0:00  \_ docker-containerd-shim 60f6f53effb48170c64c4ceb12ad995fef500cd0db1bc118b58bda7da77a1569 /var
root      170611  6.3  0.0   1320     4 ?        Ss   14:18   0:00      \_ sleep 100
root      170644  0.0  0.0   1320    44 ?        Ss   14:18   0:00          \_ timeout 30 sleep 100

docker run -d centos:7 sh -c "timeout 30 sleep 100"
root      170662  0.0  0.0 704776  5760 ?        Sl   14:19   0:00  \_ docker-containerd-shim 4fc91b318bcc1a3f5468df4edc708229d896c8b628aa735d1c77e771d1748715 /var
root      170683 10.0  0.0   8648   784 ?        Ss   14:19   0:00      \_ timeout 30 sleep 100
root      170721  0.0  0.0   4380   632 ?        S    14:19   0:00          \_ sleep 100
@ningmingxiao ningmingxiao changed the title timeout 30 sleep 100 parent pid is sleep dont like centos timeout 30 sleep 100 parent pid is sleep don't like centos Jul 15, 2022
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

1 participant