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

Security Warning #106

Open
PeterHuizing opened this issue Nov 5, 2015 · 2 comments
Open

Security Warning #106

PeterHuizing opened this issue Nov 5, 2015 · 2 comments

Comments

@PeterHuizing
Copy link

When I am building in a working directory with a lot of files, the docker build command is running a long time and gives a security warning and a timeout..
$ docker build -t helloworld .
SECURITY WARNING: You are building a Docker image from Windows against a Linux Docker host. All files and directories added to build context will have '-rwxr-xr-x' permissions. It is recommended to double check and reset permissions for sensitive files and directories.
Sending build context to Docker daemon 2.048 kB
Sending build context to Docker daemon
Step 1 : FROM ubuntu
Pulling repository docker.io/library/ubuntu
Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/ubuntu/images. You may want to check your internet connection or if you are behind a proxy.

@arun-gupta
Copy link
Owner

Did you issue this command from a Cygwin or a similar shell on a Windows machine?

@PeterHuizing
Copy link
Author

Hi Arun,
I used git-bash.
Another contribution: I found during the lab an issue using docker-commands in git-bash. Using the '-ti' -options resulted in "cannot enable tty mode on non tty input". I solved it with prepending the docker command with 'winpty'
For example: $ winpty docker run -ti mywildfly
Regards, Peter

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

2 participants