A while back I wrote a post about selecting a base Docker image for Node.js. In that post, I talked about the size difference of the default build for Node.js and the smaller, “slim” and “alpine” builds. The difference can be significant: 650MB for the full image, vs 50MB for the Alpine Linux version. However, […]
It’s tempting to use the “:latest” tag of an image when you first get started with Docker and pulling images from DockerHub. After all, who wouldn’t want the latest and greatest version of MongoDB, Node.js, Redis, etc, when they start a project? But this is a guaranteed way to ruin your life, destroy your productivity […]
and once it’s in production, how do I manage, monitor and scale when I need to? These are questions I’ve often been asked, and have asked several times. They are not questions for which I’ve had a good answer, though. Until I spoke with Elton Stoneman from the Docker DevRel team, that is.
Sometimes it seems like it’s impossible to learn the new stuff without breaking your existing work… installing new versions of Node.js, updating Babel.js plugins, enabling experimental features with command-line flags? Nope. It’s far too easy to break things in your current project. But I’ve been working on something that might help make this easier. Before […]
A few days ago I deleted all of my Docker containers, images and data volumes on my development laptop… wiped clean off my hard drive. By accident. And yes, I panicked! But after a moment, the panic stopped; gone instantly after I realized that when it comes to Docker and containers, I’ve been doing it wrong.
In February, I launched the first of my WatchMeCode: Live! sessions on Docker. This is a series where I do a live webinar-style session of talking about code, providing commentary and getting live Q&A from the audience at the end. For March 2017, I’m preparing another session on the ever-so-frustrating npm delay in Docker. What […]
Docker + Node.js is a beautiful combination. But among all of the advantages of using these tools together, there are some mild frustrations… things that just don’t quite fit nicely. Take the npm Wall of Red Text, for example. It seems every time I run ‘npm install’ inside of my docker container, I nearly have […]