- 
    
New Feature
 - 
    Resolution: Unresolved
 - 
    
Major
 - 
    None
 
The "sidecar container" pattern is a popular one for setting up dependent containers for running tests/builds.
It would be nice to have support for this pattern in declarative to avoid the need to drop to script.
To investigate...
In scope:
- Be able to specify sidecar containers, their network/port sharing with main build, in agent section
 - Cleanup of containers
 - Formalise the patterns shown: https://jenkins.io/doc/book/pipeline/docker/#running-sidecar-containers in declarative, essentially
 
testing:
- Should be able to be fully automated using ci.jenkins.io
 - check sidecar containers are shut down in all scenarios possible
 
- is duplicated by
 - 
                    
JENKINS-41581 Declarative: Support for multiple docker agents run in parallel and communicating
-         
 - Closed
 
 -         
 
- is related to
 - 
                    
JENKINS-48135 kubernetes-plugin should support multiple containers in declarative templates
-         
 - Resolved
 
 -