Docker

Last modified by Justin Morgan on 2019/09/29 18:04

About


Docker is a computer program that performs operating-system-level virtualization, also known as "containerization". It was first released in 2013 and is developed by Docker, Inc. Docker is used to run software packages called "containers".

I'd like to give this a try. Watch the Techno Dad videos on YouTube.

Installation on OMV


The Docker repo must be enabled in OMVExtras and then the docker GUI installation command must be run (). The plugin should now be listed in the left-hand column in OMV. The plugin then needs to be enabled.

Use


This could be very handy in the use of apps and services and keeping them from getting screwed up accidentally.

Apparently Docker only works on 64bit systems. So that's great.

So apparently I have had 2 64-bit capable computers for years without realizing it! I've just never tried installing a 64-bit OS until now. So no PLEXSERV is running the 64-bit version of OMV, with Docker successfully installed and operational.

Linking Containers

  • How do I link two or more containers?
  • I need to be able to have certain Docker containers talking to databases. Can the same database container be used for multiple Dockers?

Containers To Install


Find guides on how to run the Docker images for the following:

  • WordPress
  • MantisBT (might do RedMine instead of this)
  • NextCloud
  • RedMine
  • LibreNMS
  • Mastodon
  • XWiki
  • Nginx
  • MySQL/MariaDB
  • Open VPN
  • WebDAV (Do I need this? Is this service more secure or faster?)
  • TiddlyWiki
    • This is installed and appears to be working fine. I'd like to figure out a way to specify a directory so I can drop my own wiki into it and run it from the browser. On second look, it may not be saving things...

Let's compare the guides from Techno Dad Life and the regular (non-OMV) Docker guides to get an idea of how the non-OMV guides might translate to OMV. Maybe there is a direct way to interpret all Docker info pages into OMV guides. Might also make my own guides?

Let's look at Plex, NextCloud, HandBrake, and Calibre from TechnoDadLife and compare to the info page of the Docker containers.

Theoretically the commands in the info pages should have GUI equivalents in OMV. Use the following section as a guide.

Some container info pages don't seem to conform to the same formatting. WordPress, MantisBT, RedMine, MediaWiki, Mastodon, Nginx, MySQL, OpenVPN, WebDAV, and TiddlyWiki. Might have to check GitHub for more information if available. Might also look at other instances of the same app/platform/service and see if those are more helpful.

Containers to Check Out


  • FileExplorer
  • AdGuard
  • Grafana
  • HealthCheck
  • Hydra

Translating Guides


It seems that the translation goes as follows:

-e = Environment

-p = Port Forwarding

-v = Volumes and Bind Mounts

Beyond that each one seems fairly self explanatory. Going to have to check a few more.

Command Line


Info about working with Docker in the command line. Useful commands, how they translate over to the OMV Docker GUI.

Help


https://docker-curriculum.com/

Need to figure out how to link Dockers, like when a datadase is needed. This has never been made clear to me.

What does the Commit button in Open Media Vault Docker mean?