Linux Format

Nextcloud and Docker containers made easy

We’re going to demystify and make Docker easy to use, explaining how to run it and expose services to the internet. For our case study we will use Nextcloud and a fresh installation of Ubuntu Server 18.04. The goal here is not to demonstrate a ‘better’ way of running Nextcloud, but rather how to use the Docker platform.

Docker is probably the best-known container system for Linux, although it is far from the only one. Containers allow developers to build all the necessary libraries, services and configuration files into a predefined package that can be recreated on-demand. They solve an age-old problem where applications work fine in development but not when they’re moved into production due to various dependencies, such as OS version, libraries, etc. This may sound similar to virtualisation (VirtualBox, VMware, etc.), but containers do not emulate hardware and even use the host server’s OS kernel – see the boxout (opposite page) for more.

Get docked

We’re going to use a virtual machine (any flavour will do, will work fine) on which to install Ubuntu Server 18.04. Feel free to add Docker onto an existing Linux installation too, but you may need to change some of the settings we apply later. During the installation of Ubuntu Server accept all the default settings, and the only

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format10 min read
Answers
I was originally using the Cinnamon version of Linux Mint 21.3. I heard good things about MATE, so I did a new installation to try out MATE. After several months, I decided that I would like to go back to Cinnamon. I am not sure how to switch back wi
Linux Format2 min read
Suitability For Beginners
These distros are focused on a technical area of computer use, penetration testing, but that doesn’t mean they’re T not suitable for beginners in this discipline. It’s not much of a surprise that a Gentoo-based distro like Pentoo is more complicated
Linux Format11 min read
Enhance Email With A Better Thunderbird
Think email client and the obvious example is Mozilla’s Thunderbird. But whether you’re a T long-time Thunderbird user or looking for a new email client, you may find that Betterbird is – if you’ll excuse the pun – a better fit. That’s particularly t

Related