Prepare container to run in docker