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

NGINX no longer contains ping #129

Open
2 tasks
BretFisher opened this issue Feb 23, 2023 · 0 comments
Open
2 tasks

NGINX no longer contains ping #129

BretFisher opened this issue Feb 23, 2023 · 0 comments

Comments

@BretFisher
Copy link
Owner

BretFisher commented Feb 23, 2023

A change in the official nginx image https://hub.docker.com/_/nginx (nginx or nginx:latest ) removes ping, but I use it in the next few videos to test connectivity, so you might get an error about "ping not found". I'm working on updates to those videos but until I can get them processed and uploaded, just do this:

Anywhere I do a docker container run nginx , where nginx is the image you should use, replace that with nginx:alpine, which still has ping command in it.

There are other ways to solve this, including adding the ping util with apt-get, making your own image, etc. More info in this Q&A answer.

Original Q&A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Broken/Degraded Lecture 😥
Development

No branches or pull requests

1 participant