Tag: Docker

  • VS Code Dev Containers

    Remote-SSH One of the things I’ve done a bit in Visual Studio Code is using it’s ability to work on a different machine over SSH. I have a couple of LXCs on a server set up for different languages – one for C++ and another for Rust. They are things I don’t work in often,…

  • Moving a Docker image as a file

    I’m having a super annoying problem at the moment, I can’t pull down containers from DockerHub. If I hotspot my laptop off my phone it works fine, so it’s some drama with the home internet connection that rebooting the router does not fix. I’ve had a couple of different errors including Error response from daemon:…

  • Perils of Benchmarking

    I’ve been containerising my websites, with their servers to make deployment simple and robust, and to move to a CI/CD workflow. Since an install of a production web server is large, I would be running about ten of these containers, and there’s already a good server facing the net and doing the reverse-proxying (NGINX Proxy…

  • Controlling Docker container startup order

    A very common scenario when running services in Docker containers is that one service is going to depend on another. The most common example is going to be if you have a service that needs a database – you’re going to want the container running the database to be ready for business before the service…

  • Fixing TLS for wget in BusyBox

    I’ve been containerising my static websites with BusyBox (because it’s small), and in an earlier post showed how to even get the container to update parts of the site by reaching out with wget to download resources from elsewhere and saving them inside the container where we are serving the ‘static’ site from. I’d done…

  • Fancier Website in a Docker Container

    The previous post went over how to bundle a static website into a Docker container. That’s a neat little trick – keeping the entire website and making it trivial to install on a VPS behind Nginx Proxy Manager. It worked great for most of my little websites. But… A couple of my websites had very…

  • Website in a Docker Container

    Having figured out how to use the GitHub package registry, I was a bit inspired by this blog post from Florin Lipan to deliver all my little static websites as Docker containers. I’m not as focused as he is about making them tiny, but I did steal the idea of using BusyBox httpd for serving…

  • Using the GitHub Container Registry

    As the number of little projects I’m running on VPSs grows, I need to have a regimented system for managing all that. I could be using something like Coolify, but, at least for the moment, I’d rather build my own system. Currently my system is Nginx Proxy Manager (dockerised) in front of each app. If…

  • Containerised NGINX Proxy Manager & the 502 error

    If you’re used to running NGINX Proxy Manager in front of your web apps, and switch to running it in a container, you’re going to need to learn a little about Docker networks to get everything connected. If you just do your regular setup, and direct the proxy for an address to 127.0.0.1:<some port>, it…

  • Moving from Docker volumes to bind mounts

    When I started with Docker, the docs seemed to suggest that using Docker volumes was a good thing. With a Docker volume, you just create the volume and Docker manages the rest. You don’t have to worry about where it is, or really ever think about it. Here’s a docker-compose for Uptime Kuma using a…