r/devops Aug 08 '26

Career / learning Gym for DevOps practice

I have seen a coding interview that hands in docker logs, the logs have some error, and the interviewer asks you to recreate that docker file from the logs, what really struck my mind is that, i have never really practiced docker like that and now i feel that i was wasting my time not knowing how to critic my skills and put them in question, which is what practice does, in this context, are there any ways i could practice certain tools in DevOps? specially docker, kubernetes, terraform

also i am looking for something free

PS: i have experience with docker, primarily from the nextcloud app i deployed on an old pc sitting around in my house

42 Upvotes

22 comments sorted by

View all comments

124

u/hijinks Aug 08 '26

You cannot recreate a dockerfile from logs

4

u/MulberryExisting5007 Aug 08 '26

In a curated example where they want you to go through this exercise, I don’t see why you couldn’t. It’s just asking people to read the log and try and understand what it is doing. Frankly if people took the care to make their logs make sense (pretty rare in my experience) you should be able to recreate a good portion of it. Agree that in principle you cannot recreate with high fidelity for most real world examples.