-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: "Service 'kafka' failed to build" during compose-up #529
Comments
You have only included the part of the log that says a command in the If you are not customising the image, then I would suggest using a prebuilt image from dockerhub, e.g.
If you're still having issues, there are reported problems mounting the docker unix domain socket, this is covered in the FAQ There are reports that dos2unix can fix some issues - #195, and a few different fixes in this issue - #319 General windows issues are labelled with the windows label. |
I have issues running containers on Windows. There is the full log:
I am not customizing the image. How can I use the prebuilt images from dockerhub with Also, I can't apply the labels "question" and "windows" for my issue. |
The error is here:
Which probably means this is failing kafka-docker/download-kafka.sh Line 1 in 01fbcac
As previously mentioned - swap the build directive for the image one
|
Many thanks.
|
I don't understand the solution to the problem. |
@ma7amad4088
In docker-compose.yml there is a section:
Change |
I have Changed build: . to image: wurstmeister/kafka,but there is still something wrong here: ERROR: for kafka Cannot create container for service kafka: invalid volume specification: '/var/run/docker.sock:/var/run/docker.sock:rw' |
Hi, I am trying to customize the image but hitting the same error as the original comment. Could anyone advise how to fix this error
|
I called command
docker-compose up -d
to run zookeeper and kafka but I got error:My docker-compose.yml file looks:
I'm using docker on Windows 10. How can I fix it?
The text was updated successfully, but these errors were encountered: