Comments (3)
@iamsortiz Got the same error on Ubuntu 14.04, this solution fixed my problem. Thanks.
from docker-ci-tool-stack.
Hello, we got this same error with a little different wording in a debian 8.0 box. Changing it as suggested fixed the problem. Thanks a lot!
from docker-ci-tool-stack.
@marcelbirkner I didn't find anything related at the tracker so I created this issue. Please if there's any error or misconception tell me.
If it's right the easiest way to help Ubuntu/Mint users I can think right know it's just adding some sort of disclaimer at README.md
But you can also add a fix script.
This cold be used in automating the fix
sed -i 's/\- \/usr\/local\/bin\/docker:\(\/usr\/bin\/docker\)/- \1:\1/' docker-compose.yml
Example test:
$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
$ docker-compose up
Starting dockercitoolstack_sonardb_1
Starting dockercitoolstack_gitlab_1
Starting dockercitoolstack_seleniumhub_1
Starting dockercitoolstack_nexus_1
Starting dockercitoolstack_nodeff_1
Starting dockercitoolstack_nodechrome_1
Starting dockercitoolstack_sonar_1
Recreating e793e66933eb_e793e66933eb_e793e66933eb_dockercitoolstack_jenkins_1
ERROR: for jenkins Cannot start service jenkins: rpc error: code = 2 desc = "oci runtime error: could not synchronise with container process: not a directory"
ERROR: Encountered errors while bringing up the project.
$ sed -i 's/\- \/usr\/local\/bin\/docker:\(\/usr\/bin\/docker\)/- \1:\1/' docker-compose.yml
$ docker-compose up
Removing dockercitoolstack_jenkins_1
dockercitoolstack_sonardb_1 is up-to-date
dockercitoolstack_gitlab_1 is up-to-date
dockercitoolstack_seleniumhub_1 is up-to-date
dockercitoolstack_nexus_1 is up-to-date
dockercitoolstack_sonar_1 is up-to-date
dockercitoolstack_nodeff_1 is up-to-date
Starting dockercitoolstack_nodechrome_1
Starting e793e66933eb_e793e66933eb_e793e66933eb_e793e66933eb_dockercitoolstack_jenkins_1
Attaching to dockercitoolstack_sonardb_1, dockercitoolstack_gitlab_1, dockercitoolstack_seleniumhub_1, dockercitoolstack_nexus_1, dockercitoolstack_sonar_1, dockercitoolstack_nodeff_1, e793e66933eb_e793e66933eb_e793e66933eb_e793e66933eb_dockercitoolstack_jenkins_1, dockercitoolstack_nodechrome_1
Example fix script
docker-compose.yml.Ubuntu_fix.sh
#!/bin/bash
sed -i 's/\- \/usr\/local\/bin\/docker:\(\/usr\/bin\/docker\)/- \1:\1/' docker-compose.yml
from docker-ci-tool-stack.
Related Issues (20)
- Central UAA( rights and roles and Authentification(
- is it possible to add more service? HOT 2
- Jenkins container failing to build with error HOT 1
- Use cases example HOT 1
- Error starting setup.sh HOT 1
- Persistent image HOT 1
- SonarQube won't start, possible ElasticSearch issue HOT 1
- problem with docker-compose up
- Failed to move a directory HOT 1
- SonarQube comes up in maintenance mode, database upgrade impossible HOT 1
- Install Jenkins plugins from plugins.txt fails HOT 1
- www.slideshare.net resource in README.md is unavaliable HOT 5
- Can't locate specified Dockerfile: Dockerfile HOT 3
- Subversion, it is possible ?
- docker-compose error HOT 2
- FATAL: Failed to extract file server-jre-8u171-linux-x64.tar.gz! and Service 'nexus' failed to build HOT 4
- I get frozen array errors from ruby code HOT 3
- Jenkins plugins.txt Permission denied HOT 1
- Tried proxying jenkins.telemetry.Correlator to support a circular dependency, but it is not an interface. HOT 3
- (http://nexus:8081/repository/maven-public) and 'parent.relativePath'
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 docker-ci-tool-stack.