Jump to content

yaazzz

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by yaazzz

  1. Hi, sorry I am noob on docker and trying to get one up to remove a RPI I have currently running a small app.

    When I try to rum the following docker compose :
     

    version: '3.7'
    
    services:
    
      mqtt:
        image: eclipse-mosquitto
        network_mode: host
    
      musa:
        image: musa
        build:
          context: ./
          dockerfile: Dockerfile
        network_mode: host

     

    I get the following error:

    [+] Running 0/1
     ⠿ musa Warning                                                                                                                                                    1.6s
    [+] Building 0.2s (2/2) FINISHED                                                                                                                                        
     => [internal] load build definition from Dockerfile                                                                                                               0.1s
     => => transferring dockerfile: 2B                                                                                                                                 0.0s
     => [internal] load .dockerignore                                                                                                                                  0.1s
     => => transferring context: 2B                                                                                                                                    0.0s
    failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount634254436/Dockerfile: no such file or directory

     

    Dos anyone know why I get such error?

    Thanks for any help.

×
×
  • Create New...