CC-(Clear Containers)
Debugging CC ‘s Component with log may be the best method if you want to do. To reach the goal, you should following steps:
(1) enable debug:
sudo sed -i -e ‘s/^#(enable_debug).=.$/\1 = true/g’ /usr/share/defaults/clear-containers/configuration.toml
(2) check log in real-time:
#cc-runtime:
sudo journalctl -t cc-runtime -f
#cc-shim:
sudo journalctl -t cc-shim -f
#cc-proxy:
sudo journalctl -t cc-proxy -f
#It seems that the argument “-f” is the key.
Reference
[1]http://www.ruanyifeng.com/blog/2016/03/systemd-tutorial-commands.html
[2]https://github.com/clearcontainers/runtime/blob/master/README.md#debugging