Giter Club home page Giter Club logo

Comments (7)

frankyjquintero avatar frankyjquintero commented on August 13, 2024 1

ocurre el mismo error cuando no corres con el parámetro -i

docker run --rm --name agent --init jenkins/slave java -jar /usr/share/jenkins/slave.jar

para corregir desde acá se tendría que colocar

docker run -i --rm --name agent --init jenkins/slave java -jar /usr/share/jenkins/slave.jar

pero con docker-compose no se tampoco como intentar hacerlo

justamente es algo que también quiero hacer

from docker-agent.

vansari avatar vansari commented on August 13, 2024 1

Hi @frankyjquintero

I had the same issue. Please try the following in the docker-compose.yml:

stdin_open: true
tty: true

Source: stackoverflow

from docker-agent.

altendky avatar altendky commented on August 13, 2024 1

tty: true results in the warning below but with just stdin_open: true it seems to startup cleanly and keep running.

worker_1  | WARNING: Are you running agent from an interactive console?
worker_1  | If so, you are probably using it incorrectly.
worker_1  | See https://wiki.jenkins.io/display/JENKINS/Launching+agent+from+console

from docker-agent.

oleg-nenashev avatar oleg-nenashev commented on August 13, 2024

Could you please provide the entire compose file and the Jenkins master/remoting versions? I cannot diagnose the issue with the current info

from docker-agent.

batmat avatar batmat commented on August 13, 2024

@frankyjquintero Can you possibly edit your comment and translate it into English? Thanks

from docker-agent.

frankyjquintero avatar frankyjquintero commented on August 13, 2024

the same error occurs when you do not run with the parameter -i

docker run --rm --name agent --init jenkins / slave java -jar / usr / share / jenkins / slave.jar

to correct from here one would have to place

docker run -i --rm --name agent --init jenkins / slave java -jar / usr / share / jenkins / slave.jar

but with docker-compose I do not know how to do it

it's just something I also want to do

from docker-agent.

slide avatar slide commented on August 13, 2024

Is this still an issue, or did the workaround provided by @vansari allow this to work?

from docker-agent.

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.