Why localhost Refers to the Current Container

Turn sound offSwitch to light mode
Flash quiz3 questions · +15 XP
Flash quizQuestion 1 of 3

An app container is started with -e REDIS_HOST=localhost. Redis runs in another container on the same network. What happens?