Docker, 10.0.1 and Upgrades

Home » Docker, 10.0.1 and Upgrades

For a while I’ve been playing around with Domino on Docker, thanks to Tim Clark’s blog posts and, more recently, Karsten Lehmann’s GitHub repo. The next step after upgrading my local Domino server and Notes Client to 10.0.1 was to add Docker images for 10.0.1 and the GA App Dev Pack as well as 10.0.0 and the beta.

But after upgrading, I hit problems. The Docker images built and the containers started, but Domino wasn’t running. My first thought was whether it because I was using a pre-existing notes data volume and another container hadn’t released it properly. Eventually I copied the console.log out of my data volume and found the problem. It turned out to be something I’d dismissed during my local server install – that the server startup prompts for whether or not to upgrade the Domino Directory design. As a result the server wasn’t starting.

After hunting on the internet (confirmed also by Andreas Ponte), there is a notes.ini variable that can be set to skip the prompt – Server_Upgrade_No_Directory_Redesign=1. Another blog post pointed towards running a command line command to answer the server prompt, confirmed in a technote. But I couldn’t get that working in a bash session on the Docker container. Because the Docker image obviously includes Daniel Nashed’s Linux scripts, I also tried using rc_domino commands, as outlined here. Maybe the version I had was out of date, but I couldn’t get that to work either. Copying the notes.ini out of the Docker volume allowed me to add the relevant line to the notes.ini, although I think I could also have started the 10.0.0 container and set it via the server configuration document (as I did for the XPages ini setting). The only gotcha I had was remembering to set full permissions on the notes.ini again after copying it back into the Docker volume. Once done, my 10.0.1 container with the app dev pack was up and running, re-using the data volume I set up for my 10.0.0 container.

There’s a lot that’s new about Docker and potentially an official GitHub repo for Domino on Docker being currently worked on. But I plan on doing videos imminently on setting everything up accordingly and managing your Docker environment as a developer.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top