question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for linked containers

See original GitHub issue

The jenkins plugin doesn’t currently support linking to other containers. In the command line, you would run like this:

docker run --link othercontainer:alias myimage command

This would need to be added to the HostConfig when starting the container here:

https://github.com/jenkinsci/docker-plugin/blob/d0fe18a53ef24ce1859d7397989d60817b8a9274/src/main/java/com/nirima/jenkins/plugins/docker/DockerTemplate.java#L313

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:3
  • Comments:30 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
dmelamedclcommented, Oct 7, 2014

👍 for that feature. Is there a current workaround for this?

1reaction
pjdartoncommented, May 15, 2019

Yes, for stuff like this, you probably want the extra control afforded by pipelines, and hence will be using the docker-workflow-plugin instead of the docker-plugin (as per JENKINS-49567)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Legacy container links | Docker Documentation
Links allow containers to discover each other and securely transfer information about one container to another container. When you set up a link,...
Read more >
Docker Tutorial Series : Part 8 : Linking Containers
In this part, we shall take a look at how to link Docker Containers. By linking containers, you provide a secure channel via...
Read more >
How To Communicate Between Docker Containers
Understand how a Docker container can talk to its container friends, by setting up a network. Includes a real example.
Read more >
An Overview of Docker Container Linking - Section.io
Docker consists of a linking system that allows multiple containers to be linked together. This linking system allows connection information ...
Read more >
How to Link Docker Containers - YouTube
In this docker container linking tutorial you will learn how to link docker containers, the commands used for linking docker containers and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found