About Cody Craven

profile picture of Cody Craven

Cody enjoys sharing tidbits of information that he learns through his life-long journey developing websites and configuring web servers.

When at work, Cody can often be found banging his head against his keyboard for hours days weeks-on-end trying to solve technical issues that would otherwise prevent his teammates from creating Member value at AAA.

All content that Cody contributes to this site are his own ideas and do not necessarily represent AAA's positions or opinions.

Posts by Cody

Kubernetes

How to setup Minikube with KVM on Ubuntu

Since Docker CE doesn’t support Kubernetes out of the box (like Docker for Windows/Mac) it’s up to us to figure out how to run it for local development. Using Minikube with KVM we can fairly painlessly get our environment running.

Docker

How to setup Docker on Ubuntu

The Docker documentation for installing Docker CE under Ubuntu is really fantastic. This guide aims to provide a very opinionated step-by-step setup to give most developers a straightforward installation for local dev work.

Essentials

Fix Firefox (and other) applications that won't pin to Budgie panel

When running Budgie (under Solus and Ubuntu Budgie) I found that I am not able to right click certain applications and select the “Pin to panel” option.

Essentials

Fix missing application icon in Budgie panel

After recently installing Ubuntu Budgie, I noticed some applications installed via Snap sources were missing their application icons in the Budgie panel. While annoying, the fix is fairly straight-forward to implement once you know how.

Kubernetes

How to setup Minikube with KVM on Solus

Setting up Minikube required a little bit of trial and error on my part under Solus when trying to use the KVM2 driver. This guide provides repeatable instructions to successfully install Minikube with KVM.

Docker

How to setup Docker on Solus

While you won’t get a package file from Docker directly, the Solus Project’s eopkg command makes setting up Docker easy enough.

Docker

How to use Docker for Node.js development

There are a couple aspects of Node.js that make using Docker for development somewhat difficult. The primary difficulties come from dependency differences based on environment and a long running server process during development.

Docker

Copy large directory from Docker Image to host

When using Docker for development, it’s often necessary to bind mount directories from your host into your container. However, you’ll run into problems if your image contains files your host doesn’t (such as a node_modules directory). When that happens, you’ll need to get the files from your image into your host before you start your container with the mount.

Docker

Kill all non-Kubernetes containers in Docker

At work we’re using Kubernetes with Docker for Mac on our local development environments—which has been amazing. However, devs often end up with dangling non-Kubernetes containers hanging around (from terminals being accidentally closed or VS Code reloads) keeping expensive Docker bind mounts around. This is a command I chained together to cleanup these extra containers without disturbing those in the Kubernetes deployment.

Essentials

Omit commands from history in Linux

If you’ve ever ran commands on the command line that contain secure or sensitive information you certainly don’t want those commands recorded in your history.