Giter Site home page Giter Site logo

docker-and-compose's People

Contributors

brandshaide avatar crazymerg avatar jonaskello avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

docker-and-compose's Issues

Is an environment variable missing or what else?

I'm running this on a self-hosted GitLab instance which runs the latest release and my runner configuration looks like this:

[[runners]]
  name = "Drupal Deploy Test"
  url = "https://gitlab.example.com/"
  token = "4c5e755047ce0e98ee5f91d962ebd9"
  executor = "docker"
  [runners.docker]
    tls_verify = false
    image = "jonaskello/docker-and-compose:17.03.0-1.18.0"
    privileged = true
    disable_cache = false
    volumes = ["/cache"]
    shm_size = 0
  [runners.cache]

When running docker or docker-compose inside the container I'm getting an error like

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Looks like the DOCKER_HOST environment variable isn't set and if I do export DOCKER_HOST="tcp://172.17.0.10:2375" I can then run docker and docker-compose.

However, that leads to another error when running docker-compose:

ERROR: for php  Cannot create container for service php: create .: volume name is too short, names should be at least two alphanumeric characters

That's confusing because the same docker-compose file works locally and even if I replaced the volume definition ./:/var/www/html with the fully qualified path, the error remains the same.

Any idea what I could be doing?

Update Dockerfile to incorporate latest version of docker-compose

Hi and thank's for your nice work!

I'd be awesome if you could update your Dockerfile to incorporate the latest version of docker-compose (which is - as of 01-2018 - 1.18.0)

Background: I'd like to utilize docker-compose in my GitLab CI pipeline and using the feature --exit-code-from some-service - which is not available in the version of docker-compose you are utilizing in the Dockerfile ( 1.11.2).

Thanks in advance.

Best
Philipp

libgcc_s.so.1 must be installed for pthread_cancel to work

Since updating to 19.03.12-1.26.2 my GitLab deployment pipeline started to fail with the following error:-

libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted (core dumped)

I rolled back to 17.03.0-1.18.0 and everything was fine again. It looks like docker-compose requires libgcc as a dependency as of 1.20 (see docker/compose#5817)

image doesnt dupport overlayfs2?

I´m starting the container like:

docker run -d   --name gitlab-dind   --privileged   --restart always   --network gitlab-runner-net   -v /var/lib/docker   jonaskello/docker-and-compose:1.12.1-1.8.0     --storage-driver=overlayfs2

but overlayfs2 doesn´t seem to be supported:

lag provided but not defined: --storage-driver
See 'docker --help'.
flag provided but not defined: --storage-driver
See 'docker --help'.
flag provided but not defined: --storage-driver
See 'docker --help'.
flag provided but not defined: --storage-driver
See 'docker --help'.
flag provided but not defined: --storage-driver
See 'docker --help'.
flag provided but not defined: --storage-driver
See 'docker --help'.
flag provided but not defined: --storage-driver
See 'docker --help'.
flag provided but not defined: --storage-driver
See 'docker --help'.

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.