Lead Image © Sebastian Duda, 123RF.com

Lead Image © Sebastian Duda, 123RF.com

Build and host Docker images

Master Builder

Article from ADMIN 79/2024
By
When facing the challenge of packaging your application in a container, take into account your needs in terms of handling and security and investigate sensible options for hosting your own registry.

Many a developer looking to package their own application in a container for the first time finds themself out of their depth. Administrators who have not had much experience with containers to date are in a similar position if they are looking to containerize small tools for their own use and deliver them locally. The questions are many. Although the required knowledge can be painstakingly gathered, it takes a long time, and it's not much fun to boot. This article rushes to the rescue. Besides the basics of image building, I look at best practices and continuous integration and continuous deployment (CI/CD) mechanisms, as well as the question of a good DIY image registry. This much can be revealed in advance: The topic is not quite as complex as many critics assume and claim.

The Rise of Containers

Containers are on the rise, whether you like it or not. For years, this magazine has been pointing out that the major distributors, Red Hat and SUSE in particular, will be relying on containers in the future, if only because it saves them a lot of work. For example, Red Hat need only maintain its own software in containerized form once to make it available on RHEL 7, 8, and 9.

As long as a runtime environment for operating containers is available on a system, the underlying operating system hardly matters. Containers also offer a very useful technical alternative for software that the large distributors do not have in their own portfolios. Although Red Hat currently maintains various versions of MariaDB or MySQL for its enterprise distributions, in the future they will simply point to the official container images of the manufacturers instead of doing the work themselves.

This effect can already be seen on the desktop. Recently, Fedora announced that it would no longer maintain LibreOffice in package form but would point its own users to the official LibreOffice Flatpaks. Under the

...
Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy ADMIN Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

comments powered by Disqus
Subscribe to our ADMIN Newsletters
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs



Support Our Work

ADMIN content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.

Learn More”>
	</a>

<hr>		    
			</div>
		    		</div>

		<div class=