Bootstrap Error during Installation at Amazon EC2 (Ubuntu)

Thanks for your response Andrew. I managed to get it to work by removing the docker folder, creating a new one and using a locally hosted postgres database other than using Amazon RDS.