#learnbyfixing — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #learnbyfixing, aggregated by home.social.
-
A developer on your team suggests this approach:
1. Copy a file with an API key into the Docker image during build.
2. Use it to set up the app.
3. Delete the file in a later step.Their conclusion: "The file won’t be in the final Docker image, so it’s safe."
You disagree. All layers of a Docker image are kept, so the API key is still there.
Your challenge: Find the API key hidden in the Docker image.
-
New scenario released! 🚀
Having the config file for a program is not enough. You also need to put it in the right place so that the program can find it. But it's not that easy when you don't know where the program is looking for its config file!
Check it out and level up your troubleshooting skills: https://www.learnbyfixing.com/scenarios/13/
Happy fixing!
#LearnByFixing #Linux #DevOps #SRE #Sysadmin #syscalls #strace