<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br><div><div>On 7 Jun 2016, at 19:40, Steven R. Brandt &lt;<a href="mailto:sbrandt@cct.lsu.edu">sbrandt@cct.lsu.edu</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">step 1:<br><br>Install "docker" via yum, apt-get, whatever your OS uses.<br><br>step 2:<br><br>Make sure you're in the docker group (i.e. run "usermod -aG docker <br>&lt;user&gt;" as root).<br><br>Once this is done, open a new shell.<br><br>step 3:<br><br>Start the docker server. On Fedora, issue "service start docker" as <br>root. On SUSE, it's "systemctl docker start".<br><br>step 4:<br><br>As yourself, run "docker pull stevenrbrandt/et"<br><br>This will consume about 4GB of disk.<br><br>step 5:<br><br>As yourself, run "docker run -i -t stevenrbrandt/et"<br><br>At this point you will find yourself logged in to the docker vm and <br>inside the Cactus directory with a successfully compiled ET. You can run <br>the testsuite, or whatever else you want to do. When you log out, by <br>default changes to the VM are discarded.<br></blockquote></div><div><br></div><div>Hi Steve,</div><div><br></div><div>Nice! &nbsp;I have something similar. I split it into a 'base' image with just the required packages, then a 'src' image which has the ET checked out, then an 'app' image which had it compiled. &nbsp;It became quite unwieldy though, because every time you want to make a change, the whole app image needs to be rebuilt, which means recompiling from scratch.</div><div><br></div><div>One convenient thing that docker makes possible is to mount your own source tree into the container, so you can develop on your laptop or workstation as normal, but compile and run within the container. &nbsp;This has some glitches, though; on Mac OS it is very slow, and in any case, you need to have the same UIDs outside and inside the container, which is not usually the case.&nbsp;</div><div><br></div><div>If you link your docker hub repository to a github or bitbucket repository, docker will build the image for you, and the Dockerfile etc will be visible. &nbsp;At the moment, I can't see what Dockerfile was used for that image. &nbsp;As an example, you can see the ET build containers at&nbsp;<a href="https://hub.docker.com/r/ianhinder/et-jenkins-slave/">https://hub.docker.com/r/ianhinder/et-jenkins-slave/</a>. &nbsp;This is based on a bitbucket repository at&nbsp;<a href="https://bitbucket.org/ianhinder/et-jenkins-slave">https://bitbucket.org/ianhinder/et-jenkins-slave</a>.</div><div><br></div><div>These don't have the ET checked out or built; they just have the required software environment for doing so.</div><div><br></div><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>--&nbsp;</div><div>Ian Hinder</div><div><a href="http://members.aei.mpg.de/ianhin">http://members.aei.mpg.de/ianhin</a></div></div></div></div></div>
</div>
<br></body></html>