that will help you in future. now, just need to reset your files back to original state (without the CRLF symbols present) quickest way to do a git reset, and then try running the install again docker-compose up --force-recreate --build
@Cate you can try thisSet git default checkout line endings git config --global core.autocrlf falseDelete the catapult-service-bootstrap folderCheckout the repository git clone https://github.com/tech-bureau/catapult-service-bootstrap.gitRemove the two /data/mongo lines from docker-compose.ymlStart the service docker-compose up
Basically when git checkouts a folder, it converts the line endings to Windows format. So we have to prevent that from happening. The delete and checkout of the folder is to make sure that the line endings are correct. You can make sure by opening a file in VS Code to see if the line ending is LF.
So far I have cloned the catapult project on GitHub, removed the two lines with /data & /mongo in them, and run "docker-compose up". I checked out localhost:3000/block/1 a couple of times and it still isn't working. I also ran "curl localhost:3000/block/1" in the terminal (command prompt) several times.What should I do now? Thanks!
that you no longer have the link to /data/mongo in your docker-compose file, it will use a volume within the container so, so long as Docker is aware of a container linked to that image, it will claim / use that space.
in your logs, it is showing that location exists already so, the space is not clearing (one reason or another) so, i'd actually try leaving the following lines in but, make sure the first location points to somewhere that is empty
you can see in the above (under the services part of docker-compose) there are actually two Mongo services declared. i'd recommend change the ./data/mongo part to a location (on your host computer) that doesn't yet exist but is available. the . part just means "from this directory"
that's why JT is asking you to clear the paths. if using the code snippet above (which is straight from the Github unchanged) Docker will use a path from "this" directory two deep in to data/mongo you want to make sure these are deleted