Comments (7)
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.
I had the same issue. Please try the following in the docker-compose.yml:
stdin_open: true
tty: true
Source: stackoverflow
from docker-agent.
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.
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.
@frankyjquintero Can you possibly edit your comment and translate it into English? Thanks
from docker-agent.
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.
Is this still an issue, or did the workaround provided by @vansari allow this to work?
from docker-agent.
Related Issues (20)
- Build both agent and inbound-agent container images in this repository HOT 13
- Windows agent does not work on AWS Fargate HOT 5
- Docker image for docker-inbound-agent from debian bullseye distribution based agent docker image HOT 1
- Usage: is "java -jar /usr/share/jenkins/agent.jar" up to date? HOT 12
- Add doc how to build the different images
- Rename this repository to reflect that it concerns both `agent` and `inbound-agent`? HOT 1
- NoClassDefFoundError: org/eclipse/jgit/internal/JGitText HOT 11
- README_agent.md links to dockerhub HOT 2
- updatecli is not working for updates to JDKs HOT 5
- Images are missing from the inbound-agent README
- DockerHub Description automated process is broken since 2 months (at least?) HOT 8
- [Windows] ci.jenkins.io build fails since 3 days HOT 5
- How can I build docker images from inside jenkins/agent HOT 1
- Jenkins agent exits immediately without any logs and error code 159 (RPI 4, aarch64, Raspbian 64 bit) HOT 27
- Generate smaller java runtime with jlink in Windows images HOT 2
- JDK 21 preview updatecli manifest is failing HOT 13
- Move JDK1 `linux/s390x` out of preview HOT 1
- Unable to build an extension of inbound-agent:*ltsc2019 HOT 3
- Add building documentation
- jenkins-agent.ps1 is missing in jenkins/agent:jdk17-nanoserver-ltsc2022 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-agent.