XedonTechnologie well if the image changed, they prob changed smth in how it starts - see logs, maybe they added a new option for it or so... ((some people like to specify excaly what IP to bind to - when say having a container that sits in 2 networks - but "service" should only be acessible to one of them ((as there is "no firewall inside docker networks"))
PCatinean joined the channel
nwe well, the error you pasted clearly shows it attempting smth with "dial tcp 127.0.0.1:5432" - so maybe another var to set appart from CONCOURSE_POSTGRES_DATA_SOURCE?
and --link IS DED.
XedonTechnologie
very starnage, the docker build has skipped the step of copying my config file
jordi_m_p joined the channel
inad922 joined the channel
ashgenesis joined the channel
jordia65 has quit
tabakhase
nwe ((thats also odd btw, one one hand "link" would make it the "localhost" yes - but you already give it the hostname in CONCOURSE_POSTGRES_DATA_SOURCE...)) -- so tldr, `docker network`create&attach (or --network in the `run` is "the real fix" -- and wrap that up into a docker-compose, noone wants 600char long shell commands 😛
lyr
I'm banging my head over a good ol' standard_init_linux.go:190: exec user process caused "no such file or directory", most likely my dockerfile screwing up somewhere. Is there a way to know what's missing ?
tabakhase thanks for the help, though my question was more about is there something like --debug flag for a decent troubleshooting
jordi_m_p has quit
wgas joined the channel
tabakhase
lyr first line of /cozy/bin/entrypoint.sh is? (shell?) - i think alpine trying bash yields that exact error...
jordia65 joined the channel
lyr
oh
hell
really nice catch
lynnzh joined the channel
tabakhase
lot of alpine images just have that symlinked, some have actual bash, - but "latest" may be pretty vigin...
speaking of - never use latest... its "junk" unless you know its not - it may be random ci artifact that failed every test there is and such ;D
EnorMOZ has quit
juztin joined the channel
juztin has quit
lyr
I know the pro & con
XedonTechnologie
thakns for help tabakhase , turns out someone messed with the Dockerfile and commited the last version with missing a "COPY" line to copy the config.
tabakhase
XedonTechnologie neat 😛
dick_turpin joined the channel
ixxie joined the channel
SkinnyMelon joined the channel
dick_turpin
Hi there, complete n00b question: I have a 6 node swarm all nodes can be seen with $ docker node. Is running 18.06.1-ce & 17.05.0-ce an issue? I can't seem to deploy Portainer agent on nodes -05 & -06 running 17.05.0-ce engine
*$ docker node ls
fc5dc9d4 has quit
fc5dc9d4 joined the channel
BeerLover joined the channel
thc202 joined the channel
XedonTechnologie has quit
goldfish joined the channel
fc5dc9d4 has quit
fc5dc9d4 joined the channel
Beams joined the channel
EnorMOZ joined the channel
ShekharReddy joined the channel
fc5dc9d4 has quit
fc5dc9d4 joined the channel
de-facto has quit
de-facto joined the channel
linuxaddicts joined the channel
Dedalo has quit
SkinnyMelon has quit
SkinnyMelon joined the channel
thnee joined the channel
zerocoolback joined the channel
Class7_ joined the channel
caramel joined the channel
inad922 has quit
Class7 has quit
rooot joined the channel
sau226 joined the channel
sau226
How does a docker-compose memcache not have its hosts written into containers on the same network?
fc5dc9d4_ joined the channel
SkinnyMelon has quit
SkinnyMelon joined the channel
fc5dc9d4 has quit
fc5dc9d4 joined the channel
cgfbee joined the channel
ziyourenxiang has quit
fc5dc9d4_ has quit
tombusby has quit
inad922 joined the channel
chichou joined the channel
Dedalo joined the channel
jkremser joined the channel
tombusby joined the channel
fc5dc9d4_ joined the channel
vizius00 joined the channel
fc5dc9d4 has quit
graphene joined the channel
fenrig has quit
rebrec45 has quit
fc5dc9d4 joined the channel
fenrig joined the channel
cgfbee joined the channel
fenrig has quit
fenrig joined the channel
fc5dc9d4_ has quit
nzoueidi has quit
nzoueidi joined the channel
zerocoolback has quit
fc5dc9d4_ joined the channel
fc5dc9d4 has quit
sveinse
Are there any notable performance difference between a bind mount vs a volume mount?
MACscr joined the channel
tabakhase
"depends" 😉
fekepp has quit
sveinse
hehe 😀 under what condition does it depends?
tabakhase
i think bind is technically "faster" - as it can skipp all the layering & copyOnWrite gezizzle
sveinse
I like volumes, since they are named and have a central registry. But they are less accessible than bind mounts and is more tricky when it comes to top-level permission
tabakhase
not 100% if thats only for writes, reads should be fairly transparent on both ends i think
dpyro has quit
ams__ joined the channel
sveinse
so volumes do have cow-mechanisms set in place?
ixxie
how do I check the logs for a crashed container? I started it with docker-compose up
dpyro joined the channel
tabakhase
well thats what all those layering filesystems do or not? o.O 😀
telling
docker-compose logs
elux joined the channel
fenrig has left the channel
ixxie
and command in docker-compose overrides the one in the docker-file right?
its entrypoint which is harder to override
tabakhase
drive seems mostly to "not docker" for super-io (database server is one thing you often find on "bare" still for example) - and for actual "docker stuff" volume or bindmount is kinda ussage question -- "to just deploy anywhere anything a fixed build" you would not want bind, even if a bit faster - rather scale horizontally 😛
sau226 has quit
especially when you then dunk into managementsystem,s alla kube and whatanot where volumes are not /var/lib/docker 😛
rooot1 joined the channel
telling
ixxie: yes, it overrides. Why would entrypoint be harder to override?
rooot has quit
zerocoolback joined the channel
aossama has quit
tabakhase
ixxie you can overwrite both in all places - but they "are not rly the same" - they overlapp for a few things sure and one can use entrypoint as cmd, but generally they are more like "delayed build" ((see canidates ending with e`xec "[email protected]"`)
rsrx joined the channel
jkremser has quit
but thats still just 2 of like 4 patterns how one can build dockers
take php-docker as random example -- `docker run php:cli -r 'echo "mo";'` works, as does `docker run php:cli php -r 'echo "mo";'` --- its entrypoint "checks if it starts with a "-" and injects php on its own
aossama joined the channel
ixxie
tabakhase: if a command is specified in the dockerfile and then another in the docker-compose, will the first one be executed at all?
dpyro has quit
tabakhase
nope
ixxie
that is what I am hoping for
tabakhase
its more acting as "default value" than a "stacke d thing"
wanting to run multiple commands sounds more like a resign error 😉 tell me more... --- or you want a entrypoint ;D
s/resign/design
ixxie
I want to override
charlielor joined the channel
charlielor has quit
weirdness because I try and run `command: /bin/sh` and the container crashes
stnv joined the channel
tabakhase
(("the book" says ONE process per container - and that "likely" should be whats in CMD in the end... -- and while there are valid exceptions to that rule, they should be done "right" with say a taksmanager like runit, s6, dumyinit and so on ((cause "just kicking it into the background" will never ever deliver your "kill" command from the outside for example)
ixxie
or maybe not crashes because exit code is zero
tabakhase
hers a bit more reading on "the exceptions" http://phusion.github.io/baseimage-docker/ -- dev-env with "all in one dockers" or the first dockering projects is where stuff like that comes super handy
ixxie
I just want to run the same container without starting the service so I can run tests on it
tabakhase
sh ends with "nothig" if you give it nothing todo
ixxie
whats the best way to keep the container up without doing anything special?
tabakhase
why "without service"? --- and running tests is usually more an "exec" thing