Skip to content

Unable to start Jenkins in Google Cloud Shell #50

@michaelin

Description

@michaelin

Running docker-compose up -d in Google Cloud Shell leads to the following error:

michael_ingeman_nielsen@cloudshell:~/jenkins-katas/setup$ docker-compose up -d
Creating network "setup_default" with the default driver
Creating volume "setup_jenkins_home" with default driver
Pulling jenkins (praqma/jenkins-kata-jenkins:latest)...
latest: Pulling from praqma/jenkins-kata-jenkins
3192219afd04: Pulling fs layer
17c160265e75: Pulling fs layer
...
Status: Downloaded newer image for praqma/jenkins-kata-jenkins:latest
Building swarm_agent
ERROR: gcloud failed to load: /tmp/_MEITOPJ2m/libssl.so.1.1: version `OPENSSL_1_1_1' not found (required by /usr/lib/python3.7/lib-dynload/_ssl.cpython-37m-x86_64-linux-gnu.so)
...
docker.errors.DockerException: Credentials store error: StoreError('Credentials store docker-credential-gcloud exited with "".',)
[15137] Failed to execute script docker-compose
michael_ingeman_nielsen@cloudshell:~/jenkins-katas/setup$

There are existing issues on this here and here. A workaround is described in the issue: Running export LD_LIBRARY_PATH=/usr/local/lib in the Cloud Shell before building works for me, but really shouldn't be necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions