kompose up fail with unable to build image [closed]
Hi iam trying to convert my docker-compose.yml file with works perfectly fine to run it in minikube with kubectl.
I have installed minikube, kubectl and kompose , when I try to run I get the following error,
C:UserstestDownloadsget-string-masterget-string-master> .kompose-windows-amd64.exe -f .docker-compose.yml up
INFO Build key detected. Attempting to build and push image 'mainapp'
INFO Building image 'mainapp' from directory 'mainapp'
FATA Error while deploying application: k.Transform failed: Unable to build Docker image for service mainapp: open tmpkompose-image-build-399841535: The system cannot find the path specified.
My docker compose file with works fine is below,
version: '3'
services:
mainapp:
container_name: mainapp
restart: always
build: ./mainapp
image: mainapp
ports:
- "8000:8000"
command: gunicorn -c gunicorn.ini mainapp.application:app
reverseapp:
container_name: reverseapp
restart: always
build: ./reverseapp
image: reverseapp
ports:
- "8001:8001"
depends_on:
- mainapp
command: gunicorn -c gunicorn.ini reverseapp.application:app
nginx:
container_name: nginx
restart: always
build: ./nginx
image: nginx1
ports:
- "80:80"
depends_on:
- reverseapp
docker-compose kubectl minikube kompose
closed as off-topic by tripleee, Makyen, sideshowbarker, Pearly Spencer, Paul Roub Nov 15 '18 at 16:17
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User." – tripleee, Makyen, sideshowbarker, Pearly Spencer, Paul Roub
add a comment |
Hi iam trying to convert my docker-compose.yml file with works perfectly fine to run it in minikube with kubectl.
I have installed minikube, kubectl and kompose , when I try to run I get the following error,
C:UserstestDownloadsget-string-masterget-string-master> .kompose-windows-amd64.exe -f .docker-compose.yml up
INFO Build key detected. Attempting to build and push image 'mainapp'
INFO Building image 'mainapp' from directory 'mainapp'
FATA Error while deploying application: k.Transform failed: Unable to build Docker image for service mainapp: open tmpkompose-image-build-399841535: The system cannot find the path specified.
My docker compose file with works fine is below,
version: '3'
services:
mainapp:
container_name: mainapp
restart: always
build: ./mainapp
image: mainapp
ports:
- "8000:8000"
command: gunicorn -c gunicorn.ini mainapp.application:app
reverseapp:
container_name: reverseapp
restart: always
build: ./reverseapp
image: reverseapp
ports:
- "8001:8001"
depends_on:
- mainapp
command: gunicorn -c gunicorn.ini reverseapp.application:app
nginx:
container_name: nginx
restart: always
build: ./nginx
image: nginx1
ports:
- "80:80"
depends_on:
- reverseapp
docker-compose kubectl minikube kompose
closed as off-topic by tripleee, Makyen, sideshowbarker, Pearly Spencer, Paul Roub Nov 15 '18 at 16:17
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User." – tripleee, Makyen, sideshowbarker, Pearly Spencer, Paul Roub
add a comment |
Hi iam trying to convert my docker-compose.yml file with works perfectly fine to run it in minikube with kubectl.
I have installed minikube, kubectl and kompose , when I try to run I get the following error,
C:UserstestDownloadsget-string-masterget-string-master> .kompose-windows-amd64.exe -f .docker-compose.yml up
INFO Build key detected. Attempting to build and push image 'mainapp'
INFO Building image 'mainapp' from directory 'mainapp'
FATA Error while deploying application: k.Transform failed: Unable to build Docker image for service mainapp: open tmpkompose-image-build-399841535: The system cannot find the path specified.
My docker compose file with works fine is below,
version: '3'
services:
mainapp:
container_name: mainapp
restart: always
build: ./mainapp
image: mainapp
ports:
- "8000:8000"
command: gunicorn -c gunicorn.ini mainapp.application:app
reverseapp:
container_name: reverseapp
restart: always
build: ./reverseapp
image: reverseapp
ports:
- "8001:8001"
depends_on:
- mainapp
command: gunicorn -c gunicorn.ini reverseapp.application:app
nginx:
container_name: nginx
restart: always
build: ./nginx
image: nginx1
ports:
- "80:80"
depends_on:
- reverseapp
docker-compose kubectl minikube kompose
Hi iam trying to convert my docker-compose.yml file with works perfectly fine to run it in minikube with kubectl.
I have installed minikube, kubectl and kompose , when I try to run I get the following error,
C:UserstestDownloadsget-string-masterget-string-master> .kompose-windows-amd64.exe -f .docker-compose.yml up
INFO Build key detected. Attempting to build and push image 'mainapp'
INFO Building image 'mainapp' from directory 'mainapp'
FATA Error while deploying application: k.Transform failed: Unable to build Docker image for service mainapp: open tmpkompose-image-build-399841535: The system cannot find the path specified.
My docker compose file with works fine is below,
version: '3'
services:
mainapp:
container_name: mainapp
restart: always
build: ./mainapp
image: mainapp
ports:
- "8000:8000"
command: gunicorn -c gunicorn.ini mainapp.application:app
reverseapp:
container_name: reverseapp
restart: always
build: ./reverseapp
image: reverseapp
ports:
- "8001:8001"
depends_on:
- mainapp
command: gunicorn -c gunicorn.ini reverseapp.application:app
nginx:
container_name: nginx
restart: always
build: ./nginx
image: nginx1
ports:
- "80:80"
depends_on:
- reverseapp
docker-compose kubectl minikube kompose
docker-compose kubectl minikube kompose
asked Nov 14 '18 at 10:51
Naggappan RamukannanNaggappan Ramukannan
81731432
81731432
closed as off-topic by tripleee, Makyen, sideshowbarker, Pearly Spencer, Paul Roub Nov 15 '18 at 16:17
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User." – tripleee, Makyen, sideshowbarker, Pearly Spencer, Paul Roub
closed as off-topic by tripleee, Makyen, sideshowbarker, Pearly Spencer, Paul Roub Nov 15 '18 at 16:17
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions about general computing hardware and software are off-topic for Stack Overflow unless they directly involve tools used primarily for programming. You may be able to get help on Super User." – tripleee, Makyen, sideshowbarker, Pearly Spencer, Paul Roub
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Judging by exception you have posted:
tmpkompose-image-build-399841535: The system cannot find the path
specified
I can suggest you to check that this directory exists and your user has sufficient permissions to access it.
I created manually and it fails with "FATA Error while deploying application: k.Transform failed: Unable to build Docker image for service mainapp: Unable to build image. For more output, use -v or --verbose when converting.: dial unix /var/run/docker.sock: socket: An address incompatible with the requested protocol was used."
– Naggappan Ramukannan
Nov 15 '18 at 13:06
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Judging by exception you have posted:
tmpkompose-image-build-399841535: The system cannot find the path
specified
I can suggest you to check that this directory exists and your user has sufficient permissions to access it.
I created manually and it fails with "FATA Error while deploying application: k.Transform failed: Unable to build Docker image for service mainapp: Unable to build image. For more output, use -v or --verbose when converting.: dial unix /var/run/docker.sock: socket: An address incompatible with the requested protocol was used."
– Naggappan Ramukannan
Nov 15 '18 at 13:06
add a comment |
Judging by exception you have posted:
tmpkompose-image-build-399841535: The system cannot find the path
specified
I can suggest you to check that this directory exists and your user has sufficient permissions to access it.
I created manually and it fails with "FATA Error while deploying application: k.Transform failed: Unable to build Docker image for service mainapp: Unable to build image. For more output, use -v or --verbose when converting.: dial unix /var/run/docker.sock: socket: An address incompatible with the requested protocol was used."
– Naggappan Ramukannan
Nov 15 '18 at 13:06
add a comment |
Judging by exception you have posted:
tmpkompose-image-build-399841535: The system cannot find the path
specified
I can suggest you to check that this directory exists and your user has sufficient permissions to access it.
Judging by exception you have posted:
tmpkompose-image-build-399841535: The system cannot find the path
specified
I can suggest you to check that this directory exists and your user has sufficient permissions to access it.
answered Nov 15 '18 at 11:16
getslafgetslaf
1724
1724
I created manually and it fails with "FATA Error while deploying application: k.Transform failed: Unable to build Docker image for service mainapp: Unable to build image. For more output, use -v or --verbose when converting.: dial unix /var/run/docker.sock: socket: An address incompatible with the requested protocol was used."
– Naggappan Ramukannan
Nov 15 '18 at 13:06
add a comment |
I created manually and it fails with "FATA Error while deploying application: k.Transform failed: Unable to build Docker image for service mainapp: Unable to build image. For more output, use -v or --verbose when converting.: dial unix /var/run/docker.sock: socket: An address incompatible with the requested protocol was used."
– Naggappan Ramukannan
Nov 15 '18 at 13:06
I created manually and it fails with "FATA Error while deploying application: k.Transform failed: Unable to build Docker image for service mainapp: Unable to build image. For more output, use -v or --verbose when converting.: dial unix /var/run/docker.sock: socket: An address incompatible with the requested protocol was used."
– Naggappan Ramukannan
Nov 15 '18 at 13:06
I created manually and it fails with "FATA Error while deploying application: k.Transform failed: Unable to build Docker image for service mainapp: Unable to build image. For more output, use -v or --verbose when converting.: dial unix /var/run/docker.sock: socket: An address incompatible with the requested protocol was used."
– Naggappan Ramukannan
Nov 15 '18 at 13:06
add a comment |