Problem deploying QuantRocket in Linux Tutorial

Thanks for adding the linux tutorial. I've been trying to follow it and everything has gone smoothly until the step where I try to deploy quantrocket with

docker-compose -p quantrocket up -d

I get the error message:

ERROR: Top level object in './docker-compose.yml' needs to be an object not '<type 'str'>'.

Any help would be much appreciated, thanks.

What's in your docker-compose.yml? It should match what you copied from the configuration wizard.

Apologies, I managed to look at my docker-compose.yml file and it was wrong for some reason, looks like I had accidentally pasted something else into the file.

Ihave checked it is correct now, and when running:

docker-compose -p quantrocket up -d

I get the error message:

ERROR: Couldn't connect to Docker daemon at http+docker://localunixsocket - is it running?

If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.

Try some of the suggestions here: Couldn't connect to Docker daemon at http+unix://var/run/docker.sock - is it running? · Issue #1214 · docker/compose · GitHub

Thanks for the link. I tired several different things and everything seemed to work when I replaced:

docker-compose -p quantrocket up -d

with:

sudo docker-compose -p quantrocket up -d

but then I had problems it continually saying my ID key, username and password were blank. I went through and re-read and re-did the entire tutorial again, and it looks like I missed the step on managing docker as a non root user. Once I did this properly everything worked fine.

My fault, I guess I was rushing trying to do the installation and I missed a step.

Thanks.