Challenge, Medium,  on  Containers

The playground has a simple busybox Docker container called labs-are-fun. You should be able to see it in the docker ps output. Can you execute a command (e.g., sleep 10) inside it but using ctr exec instead of docker exec?

Hint 1 💡

Feel a bit lost? Try solving this simpler challenge first. It'll help you fill in the knowledge gaps.

Hint 2 💡

If you followed the advice from the previous hint, you should be able to get the containerd task ID of the labs-are-fun container with ease. The only thing left after that would be getting the ctr task exec parameters right.

Categories: Containers
Discussion:  Discord

Level up your Server Side game — Join 9,000 engineers who receive insightful learning materials straight to their inbox