Git Product home page Git Product logo

Comments (3)

hantsy avatar hantsy commented on June 9, 2024 4

@iamsortiz Got the same error on Ubuntu 14.04, this solution fixed my problem. Thanks.

from docker-ci-tool-stack.

 avatar commented on June 9, 2024 2

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.

iamsortiz avatar iamsortiz commented on June 9, 2024 1

@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)

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.