Maintenance

  • Home
  • Log in
  • « Rss reader and XSLT formatter of HCMC blog working in Cascade test page
  • Docker notes to self »

Docker instance now working

Posted by mholmes on 14 Dec 2016 in Servers, R & D, Activity log, Documentation

Later note: It proved simpler and cleaner to symlink /var/lib/docker to a location with lots of space on my spinning disk. Normally when I test this docker container, I want it to start from nothing (i.e. preserve no data from previous runs) so there's no advantage to mounting external storage.

After many iterations of build, run, watch jobs fail, figure out missing packages, tweak scripts, and round again, I have five jobs building successfully, and another four remain to be tested. I was running my docker instance with local data like this:

docker run --name teijenkins -p 8080:8080 -p 50000:50000 -v /var/jenkins_home tei-jenkins

but that was problematic because the image was exploding in size as it checked stuff out and built jobs, and I ran out of space on my SSD. I copied the contents of the /var/jenkins_home directory to my spinning disk and I'll be trying this instead:

docker run --name teijenkins -p 8080:8080 -p 50000:50000 -v /home/mholmes/WorkData/tei/jenkins_home:/var/jenkins_home jenkins

but I have to free up enough space to run the image in the first place. Working on that now.

This entry was posted by Martin and filed under Servers, R & D, Activity log, Documentation.

Maintenance

This blog is the location for all work involving software and hardware maintenance, updates, installs, etc., both routine and urgent.
  • Home
  • Recently
  • Archives
  • Categories

Search

Categories

  • All
  • Announcements
  • Hit by a bus
  • Labs
    • Activity log
    • Documentation
  • Notes
  • R & D
    • Activity log
    • Documentation
  • Servers
    • Activity log
    • Documentation
  • Tasks

All blogs

  • Academic
  • AdaptiveDB
  • Admin
  • Announcements
  • CanMys
  • Cascade
  • CGWP
  • ColDesp
  • Depts
  • DVPP
  • Endings
  • HCMC Blogs
  • Landscapes
  • LEMDO
  • Linguistics
  • Maint
  • LondonMap
  • Mariage
  • MoM
  • Moses
  • Pro-D
  • Projects
  • ScanCan
  • HumsSites
  • Wendat

This collection ©2022 by admin • Help • framework