Click here to Skip to main content
15,920,625 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
AnswerRe: "Docker" Pin
RickZeeland22-Aug-18 2:46
mveRickZeeland22-Aug-18 2:46 
AnswerRe: "Docker" Pin
Richard Deeming22-Aug-18 3:23
mveRichard Deeming22-Aug-18 3:23 
AnswerRe: "Docker" Pin
kmoorevs22-Aug-18 4:15
kmoorevs22-Aug-18 4:15 
AnswerRe: "Docker" Pin
Kevin Marois22-Aug-18 4:54
professionalKevin Marois22-Aug-18 4:54 
AnswerRe: "Docker" Pin
GKP199222-Aug-18 4:59
professionalGKP199222-Aug-18 4:59 
AnswerRe: "Docker" Pin
MadMyche22-Aug-18 6:13
professionalMadMyche22-Aug-18 6:13 
AnswerRe: "Docker" Pin
Dar Brett22-Aug-18 16:37
Dar Brett22-Aug-18 16:37 
AnswerRe: "Docker" Pin
kalberts23-Aug-18 0:22
kalberts23-Aug-18 0:22 
We are in the process of introducing Docker, but for somewhat restricted use, and we will not use all facilities available.

The primary use is for compile/build jobs: Our various teams each have their requirements for compiler versions, library versions etc. For about five years, we have been running a system where each job calls a toolbox utility which switches symbolic links around, in some cases uninstalls the current tool version and installing the one required by a job, redefines environment symbols and PATH variables etc. The utility itself has gradually become quite stable, but we still have difficulties making people use it in a proper way (using Bamboo, you have to repeat the environment changes for every single job step!)

So now we will set up a new set of build agents with no build tools installed at the OS level. All tool suites shall be Dockerized. We had a tug-of-war between those who wanted each tool to be a separate Docker image, to be used like old-style individual executables activated one by one from a build script outside docker, and those who want to put a complete set of build tools into a quite large image, activating the various tools from a script interpreted by the shell within the running container.

The second group won: We will make complete toolboxes with a complete, coherent set of tools as one image. If any single tool comes in a new version, a new, complete image must be built - you cannot just update the Docker image of that tool and leave the rest. This will hopefully have a moderating, stabilizing effect on the uncontrolled proliferation of tool versions that have ridden us the last year or two.

Some projects demanded their own build machines because they were using tools that could not be version switched by the toolbox utility. We had a lot of unused processing power on those machines, while the general pool was overloaded. Now, with everything in Docker images, we will have one common pool of build machines, all of them capable of running any Docker image, and everything specific will be hidden within that image: When the job step has completed, the host is perfectly "clean", and the next invocation of the same image is virginal: Nothing from the previous run affects it. (We will not be using local volumes; all permanent storage are mounted as host volumes at container startup.)

Our second use is similar, but different: Our target testing, running physical target hardware, will need several McGyver style solutions for the interfacing. The problem with the (pre Docker) toolbox utility is that some of the device drivers refuse downgrading, and/or intstallation / activation of another version requieres manual intervention. So every time we replace the target hardware with another setup - very often an older setup, to verify that our new software works on the old hardware, or that the old software works on new hardware - reconfiguring the test environment may take hours of effort. We will now strive to put as much of the configuration into Docker images that are self contained and isolated and can be loaded in a few seconds.

We do not expect that it will be possible to Dockerize all testing software, so host will not be completely "clean" (like the compile/build machines): A test run may have some steps running in Docker, other steps running non-Dockerized software. The setups will be so tightly bound to the surrounding physical environment that the Docker images will certainly not be "portabele" (not even among our various test setups). We use Dockeer simply as a tool for easy reconfiguration of a single machine.

We are in the final planning stages of this change, so I cannot yet tell how well it will work. Most likely we will have surprises.
AnswerRe: "Docker" Pin
DerekT-P23-Aug-18 0:26
professionalDerekT-P23-Aug-18 0:26 
AnswerRe: "Docker" Pin
Greg Lovekamp23-Aug-18 3:23
professionalGreg Lovekamp23-Aug-18 3:23 
AnswerRe: "Docker" Pin
MSBassSinger23-Aug-18 5:06
professionalMSBassSinger23-Aug-18 5:06 
AnswerRe: "Docker" Pin
Matt McGuire23-Aug-18 6:40
professionalMatt McGuire23-Aug-18 6:40 
AnswerRe: "Docker" Pin
Kirk 1038982123-Aug-18 8:25
Kirk 1038982123-Aug-18 8:25 
JokeThe papal visit to Dublin Pin
Duncan Edwards Jones22-Aug-18 0:17
professionalDuncan Edwards Jones22-Aug-18 0:17 
GeneralRe: The papal visit to Dublin Pin
CodeWraith22-Aug-18 0:23
CodeWraith22-Aug-18 0:23 
GeneralRe: The papal visit to Dublin Pin
Richard Deeming22-Aug-18 3:26
mveRichard Deeming22-Aug-18 3:26 
GeneralCamera, lights.... Action! Pin
CodeWraith21-Aug-18 23:29
CodeWraith21-Aug-18 23:29 
GeneralRe: Camera, lights.... Action! Pin
megaadam21-Aug-18 23:45
professionalmegaadam21-Aug-18 23:45 
GeneralI was wrong! Pin
CodeWraith21-Aug-18 23:54
CodeWraith21-Aug-18 23:54 
GeneralRe: I was wrong! Pin
Kornfeld Eliyahu Peter22-Aug-18 0:05
professionalKornfeld Eliyahu Peter22-Aug-18 0:05 
GeneralRe: I was wrong! Pin
CodeWraith22-Aug-18 0:20
CodeWraith22-Aug-18 0:20 
GeneralOpinions Please Pin
Member 1395409621-Aug-18 22:30
Member 1395409621-Aug-18 22:30 
GeneralRe: Opinions Please Pin
glennPattonWork321-Aug-18 22:36
professionalglennPattonWork321-Aug-18 22:36 
GeneralRe: Opinions Please Pin
Johnny J.21-Aug-18 22:37
professionalJohnny J.21-Aug-18 22:37 
GeneralRe: Opinions Please Pin
glennPattonWork321-Aug-18 22:44
professionalglennPattonWork321-Aug-18 22:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.