« Previous 1 2 3 4 5
Effective debugging of Docker containers
Bug Hunt
Examining Layers
If you find yourself in the harrowing situation of needing to debug a setup that you did not build yourself and that is based on prebuilt Docker Hub containers, you face a real challenge. You often have to deal with a layer cake: Various users have changed and modified the original Docker Hub image so that it is almost impossible to trace who is responsible for what change and when it happened.
Docker itself offers a little help here: The docker history
command can be used to display the changes an image has undergone during its lifetime, including any comments and corresponding notes – which might shed some light on the matter (Figure 5).
Infos
- "Container Security" by Martin Loschwitz, ADMIN , issue 44, 2018, pp. 64-67, http://www.admin-magazine.com/Archive/2018/44/Dialing-up-security-for-Docker-containers/
« Previous 1 2 3 4 5
Buy this article as PDF
(incl. VAT)
Buy ADMIN Magazine
Subscribe to our ADMIN Newsletters
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Most Popular
Support Our Work
ADMIN content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.