Configuring init script for docker