Posts

Showing posts from September, 2017

Setting up Oracle XE in Docker - Lessons Learned

For a little side project I'm working on, I had the need to set up a Docker instance of Oracle. I have read about Docker a while back and understand the general concept - but up until now, I hadn't had much experience with it (other that running the basic hello-world Docker example). So, since I'm about using the free version of the Oracle Database at the moment (Oracle XE), I wanted specifically to build that in a VM. Now, I know that Oracle has a GitHub repository with some sample Docker files - unfortunately, I didn't have success with the Oracle XE version, so it wasn't a bad time to go and build my own. Here are some things I learnt: 1. The default storage location on my Ubuntu system is: /var/lib/docker This is a problem as I'm developing, since the way my disk is set up, the root partition soon fills up. 2. You can change the location that images are stored, by creating a json file: /etc/docker/daemon.json. In here, you will want an entry &quo