The Docker command can not be run in the jenkins container

Now build the jenkins container

Docker run -d -v /var/run/docker.sock:/var/run/docker.sock -v $ (which docker): / usr / bin / docker -p 8080: 8080 jenkins

  • Dcoker gitlab how to modify the host address?
  • What is the difference between docker and docker.io?
  • Dear procedures ape, NetEase honeycomb winter first benefit, 1 yuan to open Docker trip it!
  • Annual inventory | 2016 financial industry container technology application - insurance articles
  • Micro service deployment on Kubernetes
  • Docker swarm mode cluster under the private warehouse harbor setting example
  • After the above implementation, the container has been successfully started.

    But ran the Docker command in the Jenkins container,

    The results failed, the following problems arise.

    Docker: error while loading shared libraries: libdevmapper.so.1.02: can not open shared object file: No such file or directory

    I tried to join this:

    -v /lib64/libdevmapper.so.1.02:/usr/lib/libdevmapper.so.1.02

    As a result, there was a problem:

    Docker: error while loading shared libraries: libudev.so.0: can not open shared object file: No such file or directory

    I think the following do not try to go, that no solution.

    2 Solutions collect form web for “The Docker command can not be run in the jenkins container”

    Into the root user can be

    Hello, I would like to ask you that jenkins inside running docker being given, how to solve? I also met my host machine is ubuntu 14.04
    Docker: error while loading shared libraries: libltdl.so.7: can not open share

    Heads up! This alert needs your attention, but it's not super important.