They do not need to communicate. They *do* share a common (very important) config file, which is why they're part of the same stack
@Celmor
uplime joined the channel
Celmor
btw. if you prefix a nick by @ it won't highlight it for that user, at least on certain clients
Greyztar joined the channel
"why am I even having this problem?" having what problem, just expose the services differently (using port mapping, or however the 3rd party accesses it)
Greyztar
can regular bash scripts be used in same way as docker compose,like whats the advantages of compose in any case?
Silmarilion has quit
Celmor
you mean docker-compose? it is a docker client and automates a lot of stuff, it doesn't call `docker` commands itself but communicates with the daemon directly, but you could probably get the same behavior using an extensive bash script
smccarthy joined the channel
Greyztar
Celmor: sorry yes i ment docker-compose,im abit new to linux and docker in general,ive done some lxc but not so much docker,just saw i might be able to utilize bash scripts instead ,thanks for answers m8 (,")
courrier has quit
Celmor: maybe it will use less resources on larger environments using compose since it communicate directly with daemon
also the container configuration is maintained in a yaml formatted file for docker-compose which is also compatible with docker swarm (e.g. docker deploy), you would have to also implement reading that file if you wanted to replace it with a bash script
Greyztar
geggam: cheers nice one
Celmor
if you want to manage multiple containers, i.e. a stack, you usually use docker-compose, if not already swarm mode
Greyztar
Celmor: seems fair yes thanks for input
Celmor
yw
nicesignal has quit
exaroth joined the channel
slajax joined the channel
nicesignal joined the channel
phin has quit
phin joined the channel
phin has quit
phin joined the channel
lytol has quit
geggam has quit
BlueProtoman
Celmor: Let me rephrase. My nodes A and B are on two separate Docker networks and have two IP addresses. However, they both expose port 80. If I try to access node B through port 80, I get node A instead
enderandpeter has quit
enderandpeter1 joined the channel
enderandpeter1 is now known as enderandpeter
Celmor
guess that's the internal load balancer, not sure how to configure that
do you have them on an overlay network?
BlueProtoman
Celmor: That's the default, right? If so, then yes (overlay driver, swarm scope)
slajax joined the channel
Celmor
try different network driver if you don't need to connect them anyway, or even host network_mode if swarm allows it
BlueProtoman
swarm doesn't allow network_mode
Celmor
can you use an alternate network driver then?
peacememories has quit
BlueProtoman
Not bridge. "Only networks scoped to the swarm can be used, such as those created with the overlay driver."
So I have to figure out how to configure the overlay driver, then
jiji606 has quit
esotericnonsense joined the channel
slajax joined the channel
sanches joined the channel
smccarthy has quit
smccarthy joined the channel
tazle joined the channel
zwarag joined the channel
pt1 has quit
bankai_ joined the channel
zwarag has quit
maolang joined the channel
slajax joined the channel
zwarag joined the channel
venmx has quit
terp joined the channel
gmoro joined the channel
gmoro has quit
terminalator joined the channel
de-facto has quit
troys joined the channel
jungsubk has quit
AfroThundr|main has quit
maolang has quit
zwarag has quit
maolang joined the channel
idlemind joined the channel
AfroThundr|main joined the channel
AfroThundr|main has quit
Very_slow has quit
AfroThundr|main joined the channel
maolang has quit
maolang joined the channel
lukrop joined the channel
Very_slow joined the channel
retentiveboy has quit
retentiveboy joined the channel
de-facto joined the channel
Disconsented
Anyone tried an image pull in the last few minutes? I am getting 503's
trapier joined the channel
codebam
I'm doing `docker pull postgres` to try to update my postgres image but I'm getting a 503 error?
Status update: We had a brief outage of registry authentication service which would've disallowed any pushes or pulls. This has since been fixed and we are continuing to monitor the situation. Sorry for the inconvenience. -- https://status.docker.com/pages/incident/533c65...