About Me

Currently I work mostly on Bugzilla for the Mozilla Corporation and before that I worked for many years for Red Hat, Inc. I love playing with new technologies such as Linux, mobile devices, as well as constantly trying to improve my novice programming skills.

Advertisements

2 responses to “About Me”

  1. Don Lindsay says :

    I tried your Dockerized Bugzilla. Cool !

    But when I tried to play some real data from elsewhere into the MariaDB, I ran out of disk space inside the container. Could you point me to the documentation on fixing that ? Or, on how to generate a container that suits my needs ?

    Thanks, Don

    • dlawrence says :

      From what I can tell, normally docker containers only give around 10G of space by default for new containers. It is a LXC thing. I think you can pass
      docker a lxc setting and increase that size but you are better off using volumes
      instead and storing your volatile data on a shared filesystem. What I do is I
      have a home directory called /home/dkl/data/bugzilla/mysql where I keep the
      database files. Then I run the docker container using the following parameters.

      docker run -d -t \
      –name bugzilla \
      –hostname bugzilla \
      –publish 2222:22 \
      –publish 80:80 \
      –volume /home/dkl/data/bugzilla/mysql:/var/lib/mysql \
      dklawren/docker-bugzilla

      The one thing to be aware of is the uid of the database process running in the container must match the owner uid of the dir/files in the home based mysql directories or it will complain of permissions problems.

      The nice thing about this is if you lose the container you still have the database data and you can restart a new container with the same database.

      Good luck!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: