#docker

/

      • pt1 joined the channel
      • Neo
        morenoh149: volume mount, and yes it's a management tool designed to run inside docker. all you need is a volue mount to your docker socket or your docker daemon listening on a port available to docker itself
      • a3Dman has quit
      • netscape101 has quit
      • ianychoi has quit
      • streety joined the channel
      • dbmikus_ has quit
      • juztin joined the channel
      • pt1 has quit
      • DVS[1] has quit
      • Darcidride has quit
      • ianychoi joined the channel
      • DVS[1] joined the channel
      • neilhwatson has quit
      • Elisha joined the channel
      • juztin has quit
      • a3Dman joined the channel
      • DVS[1] has quit
      • userx has quit
      • rokups has quit
      • dklyle has quit
      • DVS[1] joined the channel
      • userx joined the channel
      • Haxxa joined the channel
      • DVS-1 joined the channel
      • troulouliou_div2 joined the channel
      • jamiejackson
        i don't know if anybody happens to use this image ( boky/postfix - https://github.com/bokysan/docker-postfix ) , but i thought i'd give it a try...
      • a3Dman has quit
      • i thought if i ran that ( docker run --rm --name postfix -p 1587:587 boky/postfix ), i'd be able to telnet to localhost:1587 and try a simple mail test (ehlo, mail from:, rcpt to:, etc.). telnet accepts input but the commands don't seem to do anything. (e.g., i think i should be able to run `list`, but nothing happens).
      • DVS[1] has quit
      • have any idea why that might be?
      • kingarmadillo joined the channel
      • twobitsprite joined the channel
      • twobitsprite
        is there a way to use an earlier stage as a base for a later stage in a Dockerfile?
      • exotime has quit
      • userx has quit
      • jamiejackson_
        instead of using the first stage to generate artifacts to copy into the second, twobitsprite?
      • twobitsprite
        jamiejackson_: right
      • a3Dman joined the channel
      • juztin joined the channel
      • ur5us joined the channel
      • jamiejackson_
        makes me wonder why there's a second stage at all
      • smccarthy joined the channel
      • twobitsprite
        I.e., I'm not using the first as a "builder", it's the main thing, but I was thinking I could have a second "stage" that just runs some tests within the first stage
      • Gill joined the channel
      • exotime joined the channel
      • jamiejackson_
        seems like you'd want to build your image as usual and run tests on/in a container based on the image
      • userx joined the channel
      • twobitsprite
        Specifically, I'm factoring out some common stuff I have in a few of my images, like lighttpd config stuff, in to a common image that will be a base for my other images... but since it doesn't do anything by itself, I want an image based on it that adds a simple test app.
      • I was just thinking instead of having a Dockerfile.test, I could just use another "stage" in the same Dockerfile
      • jamiejackson_
        i'm not sure i've seen an image that tests itself at *build* time, but i'm no expert
      • crtcji joined the channel
      • twobitsprite
        No, not at build time, but it just adds a bogus "test" app, then I test that outside the container
      • ianychoi has quit
      • ianychoi joined the channel
      • DevAntoine joined the channel
      • ash_mobile joined the channel
      • duckpuppy joined the channel
      • notevil
      • twobitsprite
        notevil: so, basically the Dockerfile.test approach?
      • notevil
        if you want to build something, then just pull out parts of it. leaving behind build tools, etc, then you'll want to look at multi-stage builds.
      • jamiejackson_
        i have seen an example kinda similar to that in solr's image. https://hub.docker.com/_/solr/ search for "If you want to load some of the example data that is included in the container"
      • fsimonce has quit
      • (that's an example i've seen of building the image to be able to load a test app.)
      • iAmerikan joined the channel
      • DevAntoine has quit
      • mantoshelis has quit
      • jeffreylevesque has quit
      • a3Dman has quit
      • jamiejackson
        does anybody have a favorite postfix image for simply relaying to a corporate mail server? (no credentials needed)
      • dpyro joined the channel
      • trapier_ has quit
      • dklyle joined the channel
      • o_lalertom has quit
      • smccarthy has quit
      • smccarthy joined the channel
      • LennardW|afk joined the channel
      • d1z has quit
      • a3Dman joined the channel
      • d1z joined the channel