Sign inSign up

vegadelalyra/socat

By vegadelalyra

•Updated about 2 years ago

With this image you can implement a jenkins docker-based cloud agent.

Image
Networking
Integration & delivery
Developer tools
0

81

vegadelalyra/socat repository overview

With this image you can implement a jenkins docker-based cloud agent:
Opens up a tcp port that a dockerized jenkins app can consume from declaring the cloud agent; then the container will trigger the unix-connect event on a successful tcp handshake and will execute the docker socket saved in its docker container files and with this socket, the container will have access to our docker engine, thus, our docker daemon, so jenkins can request to generate all the containers declared on the cloud agent containers templates section and those brand new containers will be the ones that get the jenkins jobs assigned.

Command from which you can create the docker-compose.yaml
docker run -d --restart=always --name socat -p 127.0.0.1:2376:2375 --network jenkins -v /var/run/docker.sock:/var/run/docker.sock alpine/socat tcp-listen:2375,fork,reuseaddr unix-connect:/var/run/docker.sock0

Tag summary

Content type

Image

Digest

sha256:4848aa964…

Size

4 MB

Last updated

about 2 years ago

docker pull vegadelalyra/socat:alpine