Fix Docker handler for machines that use systemd just as a naming service

Fix Docker handler for machines that use systemd just as a naming service without controlling cgroups.