When dockerd restarts. The command then does not exists and we can't directly wait for it. That's why we need to use lxc in this case