Pages with tag Self Hosting

Installing a self-hosted Docker Registry to aid Docker image development When developing Docker images it's useful to store them in a Docker registry. While using Docker Hub is free, it's bad form to fill up that shared resource with images built for personal use. It's better to only publish the Docker images that are truly useful to everyone, and that have documentation. That leaves us with the problem of a location to host our own Docker images. Do we pay for a private repository somewhere? Or, as a self-hoster, do we host a local Docker Registry to store our personal Docker images? In this post let's explore the latter idea.
Self-hosted Docker infrastructure in home or office using low-cost computers like Intel NUC Using Docker, and a simple small computer, you can build a powerful computing "cloud" in your home, on your desktop, at low cost, giving you control over your data. If you need more power, adding another computer or three to the mix quickly adds more capabilities. For almost any popular 3rd party service like Github, Dropbox, and Trello, there is an open source package that might even be better. Those cloud services are temptingly easy to sign up and get going, but there are tradeoffs. What happens when a 3rd party service suddenly shuts down? That has happened on multiple occasions, sometimes deleting customer data in the wake. Or what about miscreants breaking in and stealing data? With open source operating systems, open source packages like Gitea, Nextcloud, and Kanboard, you gain control over your destiny.
Self-hosting your own web services in place of using 3rd party services Self-hosting is about hosting Internet services on your computers, controlled by you. This is different from just to just Use the Cloud by signing up for services like Dropbox, Github, Travis, or other 3rd party controlled services. Many people just use the cloud that way, because it's easy to just sign up, provide a credit card number, and get on with business. For each of those commercial services there are equivalent open source alternatives you can host on your own hardware. Self-hosting purposely takes a different route, and in this article we'll go over some reasons why.
Setting up Docker for an easy-to-configure self-hosting environment Self-hosting is about hosting Internet services in an easy-to-manage environment. Docker is an excellent tool for managing these kind of services since it is easy to reuse software packages, and it has a fairly strong security barrier around those packages. In many cases we'll just need to install and configure the Docker container. But to ease the task we need a well organized system for managing configuration files, data directories, and other stuff associated with running several Docker containers.