Resolve Docker Compose Issues -

@Inderpreet @kodekloud-support3 @KodeKloud

I am getting “No space left on device” error for the task. Tried couple of times to build using the docker-compose build command

here it the content of docker compose file

image

Please advice if this is issue with the environment or with the steps.

P.S i am relatively new to writing code in yml format.

Many thanks!!!

I figured out the issue with docker-compose.yml file and completed the task.

Glad to know you have fixed the issue!..

1 Like

Hi SZI,
how did you resolve the above issue?



thanks
Swaroop

There was an issue with 4th line.

build: /.

Corrected line
build: .

Also I modified the below

depends_on:
- redis

redis:

Correct:
depends_on:
- redis_app

redis_app:

Look at the dockerfile for errors or typos in my case there were few issues which I sorted out. See above

Hi SZI,
there were few typo mistakes in the docker file, I just updated the same as per the error message. It did fix the issue. Thanks for checking on this.


Thanks
Swaroop

This task is failed for me. However i was able to fix the docker-compose file errors and build the container.

image

@Inderpreet @KodeKloud @rahul456 Can you please have a look.

The error message says “python app seems down” It seems like the verification is not about docker-compose file. Its about a python solution. In that case, i believe there should be more information given in the task.

Please have a look.

my KKE id is “mihsan@miitpro.com

@mihsan, the solution is to make it image: redis instead of build .