Discussion about this post

User's avatar
Yaz Kay's avatar

Background: The original post highlights creating a directory named src via the commands:

mkdir -p src/services/log-generator

cd src/services/log-generator

Challenge/Problem: Upon following all instructions and running docker-compose up --build, "it gives a unable to prepare context error"

Solution/Recommendation: Update Day 2 documentation to first create a root folder named "log-generator". The "src"folder has to be placed inside the "log-generator" folder

mkdir log-generator

cd log-generator

Expand full comment
Michael Reed's avatar

For this to work, you have to update the docker-compose.yaml file. If you just keep the one from lesson 1, it will just execute lesson 1's service. See the update to the docker-compose.yml file in the github repo.

Expand full comment
8 more comments...

No posts