gliderlabs / gliderlabs/docker-alpine

ping: permission denied (are you root?) flooding y

Open
#528 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
5.7k
Forks
530
PR merge metrics
No merged PRs in 30d

Description

I don't know if this is a bug but today I got a weird result that can be easily reproduced.

I created a container with `--cap-drop=ALL` with the image 10.16.3-alpine.
Soon after I accessed the container terminal with the command:
`docker exec -ti CONTAINER_ID / bin/sh` and I used a basic command:
`ping www.google.com`
I got the result
`ping: permission denied (are you root?)`
out of curiosity I tried
`ping www.google.com && yes` or `ping www.google.com; yes`
I received an absurd flood of the letter Y without stopping on my console. I had to restart my machine to get out of the infinite loop.

I believe that if this has no connection to the alpine image or cannot be resolved, I think the phrase (are you root?) Should be removed.
![image](https://user-images.githubusercontent.com/36576303/67138018-29703d00-f214-11e9-938a-94c139d09aca.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.