Derek J Bender

Running docker from a container

It's kind of like docker-in-docker (dind) but not quite!

In a rather standard continuous integration setup there is a process in which we needed a container to trigger other containers to be created and ran. A typical way to do this is to share the host's docker daemon with the container. This way we avoid any pitfalls with a true docker-in-docker setup that is also unnecessary for our use cases . . .

Read More

April 12, 2024

Manual ActiveRecord Transactions via ActiveRecord::Base.connection.transaction_manager

Especially useful in the rails console

I wouldn't recommend using this in application code because having automatic handling of transactions via blocks with ActiveRecord::Base.transaction is way safer. However there are times where I want to open a transaction but have my ruby code eval'd in realtime in the rails console. Here's the code snippet to accomplish this using the . . .

Read More

September 27, 2022

How to Rename a Docker Volume


Read More

September 20, 2022

Welcome Questions

This tweet came across my feed today:

I think this is great and more people who are able should do so!

. . .

Read More

July 23, 2017

2016 Career Goals

  1. Create an open source ruby application
  2. Publish article on how to TDD w/ RSpec
  3. Create a talk on domain modeling literacy
  4. Article and talk on using Rails as only a persistence/delivery layer
  5. Find a mentor
  6. Mentor someone

Other resolutions:

  1. Produce an ambient album
  2. Read books: Snow Crash . . .

Read More

January 11, 2016

Video: How to stop hating your tests


The following presentation sums up so much of my own methodology of skillful testing. I recommend anyone looking for best practices in testing. The talk has some Ruby but is certainly not language specific. Thank you so much @searls.

How to Stop Hating Your Tests from Justin Searls.

As presented at RubyConf 2015.

. . .

Read More

Posted in: rubytesting

November 20, 2015

Be Skeptical of Articles that don't Discuss the Costs of Microservices

Know what side of the hype cycle you're on

As with most things in technology, everything is tradeoffs. It's tradeoffs all the way down. So when I read an article describing how startup XYZ (which is probably an actual startup but I'm not going to look that up) switched from a "Monolith" to "Microservices" and then proceeds to only talk about the benefits of . . .

Read More

September 10, 2015


This update link alerts you to new Silvrback admin blog posts. A green bubble beside the link indicates a new post. Click the link to the admin blog and the bubble disappears.

Got It!