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 Format2 min read
OBS Studio
Version: 30.0.2 Web: https://obsproject.com There are lots of good options for recording screencasts, but if you want to live-stream T your desktop, one of the best options is OBS Studio. The app works with all the major online streaming providers, s
Linux Format1 min read
Kaki Pi
Another Pi-like SBPC appears! From Yuridenk-Shokai in Japan, this packs a Renesas RZ/V2H Coretex-A55/R8/M33 MPU with 80 TOPS of AI. It’s aimed at robotics and has four CSI video inputs along with a PCIe 3 connection. Find out more in Japanese: www.ka
Linux Format2 min read
Back Issues Missed One?
ISSUE 313 April 2024 Product code: LXFDB0313 In the magazine Discover how to use the ultimate hacker’s toolkit, staying out of trouble while doing so. And join us as we take the Puppy Linux developer’s new distro for a run and explore its container

Related