kompose up fail with unable to build image [closed]










2















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









share|improve this question













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
If this question can be reworded to fit the rules in the help center, please edit the question.




















    2















    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









    share|improve this question













    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
    If this question can be reworded to fit the rules in the help center, please edit the question.


















      2












      2








      2








      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









      share|improve this question














      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      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
      If this question can be reworded to fit the rules in the help center, please edit the question.







      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
      If this question can be reworded to fit the rules in the help center, please edit the question.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          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.






          share|improve this answer























          • 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

















          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          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.






          share|improve this answer























          • 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















          0














          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.






          share|improve this answer























          • 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













          0












          0








          0







          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.






          share|improve this answer













          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          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

















          • 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





          Popular posts from this blog

          Use pre created SQLite database for Android project in kotlin

          Darth Vader #20

          Ondo