Comments (10)
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.
from relay-starter-kit.
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.
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.
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.
@psyanite what kernel version is your Docker using? You can find it by running docker info
from relay-starter-kit.
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.
The Kernel version is indeed the latest...
from relay-starter-kit.
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.
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.
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)
- Adding controller/service layer for business logic HOT 3
- MongoDB instead of PostgreSQL HOT 1
- Where is the Passport.js implementation? HOT 1
- Dependabot can't resolve your JavaScript dependency files
- File Upload HOT 3
- Dependabot can't resolve your JavaScript dependency files
- Dependabot can't resolve your JavaScript dependency files
- big int HOT 1
- SyntaxError: Unexpected token = HOT 2
- Missing quotation marks in setup.js HOT 2
- Feature Request: "New Feature Walkthrough"
- Add the flexibility of multiple roles HOT 1
- Bug with emails that have "." in them breaks username requirements
- README.md out of date - no "setup" script HOT 3
- Nightly build fails
- Account settings page does not update
- docker image for the repo HOT 1
- error while run yarn setup HOT 1
- Readme.md has not been updated. HOT 1
- app-deploy.js file does not exists
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from relay-starter-kit.