GithubHelp home page GithubHelp logo

Comments (10)

koistya avatar koistya commented on April 30, 2024

If I add read_only: true to docker-compose.yml/services/api it would produce this error.

Can you try adding this flag but setting it to false? Or, if it doesn't solve the issue you can try adding privileged: true, assuming that it will only be used during development.

https://docs.docker.com/compose/compose-file/#domainname-hostname-ipc-mac_address-privileged-read_only-shm_size-stdin_open-tty-user-working_dir

from relay-starter-kit.

psyanite avatar psyanite commented on April 30, 2024

Hi, thanks for getting back to me so quickly, I tried adding both of those flags and now the error has changed.

Traceback (most recent call last):                                                                                        

File "docker-compose", line 6, in <module>                                                                              

File "compose\cli\main.py", line 68, in main                                                                            

File "compose\cli\main.py", line 121, in perform_command                                                                

File "compose\cli\main.py", line 762, in run                                                                            

File "compose\cli\main.py", line 1151, in run_one_off_container                                                         

File "compose\project.py", line 468, in initialize                                                                      

File "compose\network.py", line 257, in initialize                                                                      

File "compose\network.py", line 61, in ensure                                                                          

 File "compose\network.py", line 93, in inspect                                                                          

File "site-packages\docker\utils\decorators.py", line 34, in wrapper                                                    

File "site-packages\docker\utils\decorators.py", line 19, in wrapped                                                    

File "site-packages\docker\api\network.py", line 200, in inspect_network                                                

File "site-packages\docker\utils\decorators.py", line 46, in inner                                                      

File "site-packages\docker\api\client.py", line 189, in _get                                                            

File "site-packages\requests\sessions.py", line 488, in get                                                             

File "site-packages\requests\sessions.py", line 475, in request                                                         

File "site-packages\requests\sessions.py", line 596, in send                                                            

File "site-packages\requests\adapters.py", line 423, in send                                                            

File "site-packages\requests\packages\urllib3\connectionpool.py", line 595, in urlopen                                  

File "site-packages\requests\packages\urllib3\connectionpool.py", line 363, in _make_request                            

File "httplib.py", line 1042, in request                                                                                

File "httplib.py", line 1082, in _send_request                                                                          

File "httplib.py", line 1038, in endheaders                                                                             

File "httplib.py", line 882, in _send_output                                                                            

File "httplib.py", line 844, in send                                                                                    

File "site-packages\docker\transport\npipeconn.py", line 31, in connect                                                 

File "site-packages\docker\transport\npipesocket.py", line 22, in wrapped

File "site-packages\docker\transport\npipesocket.py", line 50, in connect             

pywintypes.error: (2, 'WaitNamedPipe', 'The system cannot find the file specified.')                                    

Failed to execute script docker-compose                                                   

Due to my basic understanding of Docker, I could potentially run a Unix VM but perhaps it's best if I tried for something different.

from relay-starter-kit.

koistya avatar koistya commented on April 30, 2024

Do you have the latest versions of Docker and Docker Compose installed?

$ docker --version
Docker version 17.09.0-ce, build afdb6d4
$ docker-compose --version
docker-compose version 1.16.1, build 6d1ac21

from relay-starter-kit.

psyanite avatar psyanite commented on April 30, 2024

Sorry for the late response, yes :(

> docker --version
Docker version 17.09.0-ce, build afdb6d4

> docker-compose --version
docker-compose version 1.16.1, build 6d1ac219

from relay-starter-kit.

koistya avatar koistya commented on April 30, 2024

@psyanite what kernel version is your Docker using? You can find it by running docker info

from relay-starter-kit.

psyanite avatar psyanite commented on April 30, 2024

Wow thanks for the quick response

Init Binary: docker-init           
                                                                                                                                                                                                                          containerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0                                                                                                                                                                                                 

runc version: 3f2f8b84a77f73d38244dd690525642a72156c64                                                                                                                                                                                                       

init version: 949e6fa                                                                                                                                                                                                                                        

Security Options:                                                                                                                                                                                                                                             

seccomp                                                                                                                                                                                                                                                       

Profile: default                                                                                                                                                                                                                                           

Kernel Version: 4.9.49-moby                                                                                                                                                                                                                                  

Operating System: Alpine Linux v3.5                                                                                                                                                                                                                          

OSType: linux                                                                                                                                                                                                                                                

Architecture: x86_64                                                                                                                                                                                                                                         

CPUs: 2                                                                                                                                                                                                                                                      

Total Memory: 1.934GiB                                                                                                                                                                                                                                       

Name: moby                                                                                                                                                                                                                                                   

ID: J3ZC:6R7C:OAIY:THPQ:DWCE:O5ZC:AKES:7GCQ:IYSF:I522:2V65:JLZQ                                                                                                                                                                                              

Docker Root Dir: /var/lib/docker                                                                                                                                                                                                                             

Debug Mode (client): false                                                                                                                                                                                                                                   

Debug Mode (server): true                                                                                                                                                                                                                                     

File Descriptors: 16                                                                                                                                                                                                                                         

Goroutines: 26                                                                                                                                                                                                                                               

System Time: 2017-10-21T08:40:28.2003076Z                                                                                                                                                                                                                    

EventsListeners: 0                                                                                                                                                                                                                                          

Registry: https://index.docker.io/v1/                                                                                                                                                                                                                        

Experimental: true                                                                                                                                                                                                                                           

Insecure Registries:                                                                                                                                                                                                                                          

127.0.0.0/8                                                                                                                                                                                                                                                 

Live Restore Enabled: false   

from relay-starter-kit.

koistya avatar koistya commented on April 30, 2024

The Kernel version is indeed the latest...

from relay-starter-kit.

psyanite avatar psyanite commented on April 30, 2024

Nonetheless, I know this is all amazing even though I have trouble starting it.

You've been so helpful thank you so so much 👍

from relay-starter-kit.

goatyeahh avatar goatyeahh commented on April 30, 2024

Hey!

Sorry to comment on a closed issue, but I have the same problem. Did anyone solved it ? I followed the getting started.

EDIT: Replacing in docker-compose services/api/volumes: -yarn:/home/node/.cache/yarn with services/api/volumes:- ~/.cache/yarn:/home/node/.cache/yarn removed the problem but I am not sure I am supposed to do that...

from relay-starter-kit.

aourika avatar aourika commented on April 30, 2024

Did you try to run docker yarn as root ? like this "docker-compose run -u root [targets] yarn

from relay-starter-kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.