Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59294

Jenkins agent cannot be accessed when attaching to new docker network

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None
    • Jenkins 2.176.3
      io.jenkins.docker:docker-plugin:1.1.7

      I am facing issues with changing network of agent while it is running. My use case is that I want to run each agent in its own network (I have multiple agents per pipeline that run in parallel.).

      When I run `docker connect new_network agent_container_id` in the pipeline the connection to agent is lost and the pipeline execution halts.

      I have tried both Connect with SSH and Connect with JNLP methods and both give the same result.

            Unassigned Unassigned
            hamza3202 Hamza Zaib
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: