udemy-docker-mastery
udemy-docker-mastery copied to clipboard
NGINX no longer contains ping
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
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.
- [ ] Replace Docker Networks: DNS and How Containers Find Each Other
- [ ] Remove FIXME lecture (assuming no pings later in course)
Original Q&A