Created
January 7, 2022 02:39
-
-
Save miguelmota/426380382431dd6e07a0fc180c33c7c3 to your computer and use it in GitHub Desktop.
Linux iptables block Docker container from accessing AWS metadata API (169.254.169.254)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo iptables --insert DOCKER-USER --destination 169.254.169.254 --jump REJECT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment