docker-compose LAN communicationHow is Docker different from a virtual machine?Should I use Vagrant or Docker for creating an isolated environment?How to list containers in DockerHow to get a Docker container's IP address from the host?How to remove old Docker containersHow to deal with persistent storage (e.g. databases) in DockerCopying files from Docker container to hostCopying files from host to Docker containerHow to copy Docker images from one host to another without using a repositoryDocker Compose wait for container X before starting Y
How does Monks' Improved Unarmored Movement work out of combat?
Creating specific options in `Manipulate[]`
Can I pay some of the cost of an activated ability lots of times to get more out of the effect?
How deep is the liquid in a half-full hemisphere?
Should I be an author on another PhD student's paper if I went to their meetings and gave advice?
Verb ending in -ん with positive meaning?
Why is the population of post-Soviet states declining?
What action is recommended if your accommodation refuses to let you leave without paying additional fees?
Duck, duck, gone!
A word that refers to saying something in an attempt to anger or embarrass someone into doing something that they don’t want to do?
As a team leader is it appropriate to bring in fundraiser candy?
Why do Russians sometimes spell "жирный" (fatty) as "жырный"?
Calculate the Ultraradical
Would an object shot from earth fall into the sun?
How to stop the death waves in my city?
I transpose the source code, you transpose the input!
Worlds with different mathematics and logic
Booting Ubuntu from USB drive on MSI motherboard -- EVERYTHING fails
Is there an in-universe explanation of how Frodo's arrival in Valinor was recorded in the Red Book?
What organs or modifications would be needed to have hairy fish?
Is it possible to take a database offline when doing a backup using an SQL job?
How to identify whether a publisher is genuine or not?
What does it mean by "my days-of-the-week underwear only go to Thursday" in this context?
If a spaceship ran out of fuel somewhere in space between Earth and Mars, does it slowly drift off to the Sun?
docker-compose LAN communication
How is Docker different from a virtual machine?Should I use Vagrant or Docker for creating an isolated environment?How to list containers in DockerHow to get a Docker container's IP address from the host?How to remove old Docker containersHow to deal with persistent storage (e.g. databases) in DockerCopying files from Docker container to hostCopying files from host to Docker containerHow to copy Docker images from one host to another without using a repositoryDocker Compose wait for container X before starting Y
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Machine A : Program A (app ) Sensor IP : 192.168.0.100
Machine B : Program B ( app) IP : 192.168.0.120
sensor 192.160.1.10 reachable via machine B
Image that explains well
I am trying to Set an environnement that will enable me to do automatic tests.
The machine A communicate with the Machine B . The machine B use the sensor to make calculs and send information to machine A.
I manage to create a dockerfile that build Program A image and another one the Program B.
But I don't know how to make them communicate
My Question is : is it possible to make the container of each communicate in docker-compose ?
Or how is it possible to make them communicate by using docker-compose.
( Or is it possible with Jenkins ?)
The tests I have to automatised are justs testing the app with differents parameters ( shell commands ) of program A and B
docker docker-compose
add a comment
|
Machine A : Program A (app ) Sensor IP : 192.168.0.100
Machine B : Program B ( app) IP : 192.168.0.120
sensor 192.160.1.10 reachable via machine B
Image that explains well
I am trying to Set an environnement that will enable me to do automatic tests.
The machine A communicate with the Machine B . The machine B use the sensor to make calculs and send information to machine A.
I manage to create a dockerfile that build Program A image and another one the Program B.
But I don't know how to make them communicate
My Question is : is it possible to make the container of each communicate in docker-compose ?
Or how is it possible to make them communicate by using docker-compose.
( Or is it possible with Jenkins ?)
The tests I have to automatised are justs testing the app with differents parameters ( shell commands ) of program A and B
docker docker-compose
add a comment
|
Machine A : Program A (app ) Sensor IP : 192.168.0.100
Machine B : Program B ( app) IP : 192.168.0.120
sensor 192.160.1.10 reachable via machine B
Image that explains well
I am trying to Set an environnement that will enable me to do automatic tests.
The machine A communicate with the Machine B . The machine B use the sensor to make calculs and send information to machine A.
I manage to create a dockerfile that build Program A image and another one the Program B.
But I don't know how to make them communicate
My Question is : is it possible to make the container of each communicate in docker-compose ?
Or how is it possible to make them communicate by using docker-compose.
( Or is it possible with Jenkins ?)
The tests I have to automatised are justs testing the app with differents parameters ( shell commands ) of program A and B
docker docker-compose
Machine A : Program A (app ) Sensor IP : 192.168.0.100
Machine B : Program B ( app) IP : 192.168.0.120
sensor 192.160.1.10 reachable via machine B
Image that explains well
I am trying to Set an environnement that will enable me to do automatic tests.
The machine A communicate with the Machine B . The machine B use the sensor to make calculs and send information to machine A.
I manage to create a dockerfile that build Program A image and another one the Program B.
But I don't know how to make them communicate
My Question is : is it possible to make the container of each communicate in docker-compose ?
Or how is it possible to make them communicate by using docker-compose.
( Or is it possible with Jenkins ?)
The tests I have to automatised are justs testing the app with differents parameters ( shell commands ) of program A and B
docker docker-compose
docker docker-compose
asked Mar 28 at 19:38
Hedar30Hedar30
11 bronze badge
11 bronze badge
add a comment
|
add a comment
|
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55405632%2fdocker-compose-lan-communication%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55405632%2fdocker-compose-lan-communication%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown