1. For an application operating on a host machine, a method comprising: receiving a configuration of a Dynamic Host Configuration Protocol (DHCP) service for implementation within a virtualized container on the host machine, the configuration comprising a plurality of database table entries; converting the plurality of database table entries into a configuration file for use by a process that operates in the virtualized container; and initializing the process in the virtualized container, wherein the process reads the configuration file in order to perform DHCP services for machines connected to at least one logical forwarding element of a logical network.