Docker Snapd



This topic describes the Docker and Snap prerequisites for the Connector on Ubuntu and RedHat. What are Snap and Docker? Docker is a set of platforms that uses OS-level virtualization to deliver software in packages called containers. # To prevent repository packages from triggering the installation of Snap, # this file forbids snapd from being installed by APT. Package: snapd Pin: release a=. Pin-Priority: -10 So after you remove all snap related stuff, just uses that file. I personally like snap/flatpacks/appimages for the exceptions. So it serves that purpose.

Applications

In this section I´m going to list a couple of applications which I´m using for my desktop and how you can easily install them from your shell. Of course, it´s not a must and it´s up to you which of them you´d like to install.

Google Chrome

Firefox is pre-installed on Ubuntu as well as on CentOS but I´m for years now with Chrome and I´m still satisfied.

Ubuntu

CentOS

Snap (package manager)

This package manager is pre-installed and ready for use on Ubuntu but not on CentOS. Nevertheless, we can install it subsequently via the Extra Packages for Enterprise Linux.

Add the EPEL repository:

Install and enable snapd:

The command line interface snap is ready for use:

Visual Studio Code (VSCode)

VSCode is a powerful open source cross-platform editor and definetely one of my absolute favorite tools so far and indispensable for our desktop.

Option 1: Installation via snap

Option 2: Step by Step

Ubuntu

Repository and key:

Install:

CentOS

Repository and key:

Install:

[Extension] VSCode Settings sync

VSCode has a REALLY rich extensibility model which gives you everything you need to work even more efficiently and faster. It´ll not be possible to avoid that more and more extensions and other niceties are added to your installation and as of today it´s not possible to have everything consistent across different systems or platforms through an Online-Account like you have e.g. for Google Chrome.

Thus I´d like to recommend using the VSCode Settings sync extension for it. It uses your GitHub account (required) token and Gist, to give you the ability to upload as well as download your settings, snippets, themes and so forth.

Just search for the extension at the marketplace, install it, select LOGIN WITH GITHUB (get redirected) and follow the instructions. Since you´ve created your Gist-ID you´re ready to go to upload as well as to download your settings.

Shortcuts

  1. Upload Key : Shift + Alt + U
  2. Download Key : Shift + Alt + D

(on macOS: Shift + Option + U / Shift + Option + D)

Set VSCode as default editor for Git

Open your terminal and execut: git config --global core.editor “code --wait”

Source: https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration

Remmina

Remmina is a Remote Desktop Client which supports multiple network protocols like e.g. RDP, VNC, SPICE, NX, XDMCP and SSH.

Docker Vs Snapd

Content sharing

I was looking for a workspace where I can share content, mainly files like scripts or specification-files (.yml, .json) across platforms. It´s possible by default to activate Online Accounts (Figure II) like e.g. Google or Nextcloud in both distributions through the System Settings.

Dropbox for Linux

Docker Snapd

I decided to try Dropbox due to the availability of an already existing account.

Ubuntu

Dropbox Headless:

Installing the Dropbox CLI:

Enable Dropbox to start automatically after every reboot:

Reload system daemon:

Enable the new Dropbox service:

Start the service:

Docker

CentOS

Dropbox Headless:

Snapd

By executing /opt/dropbox/dropboxd you should be forwarded to the Dropbox homepage where you have to login to authenticate the connection request. After this, quite the running Dropbox on your terminal with ctrl + c.

Creating the init.d file:

Creating the systemd unit file:

Set the appropriate permissions for the newly created files:

Add users to be able to run Dropbox:

Reload system daemon:

Enable the new Dropbox service:

Start the service:

Snapdrop Docker-compose

Installing the Dropbox CLI

Docker Engine - Community

Another must!

Option 1: Installation via snap

Option 2: Step by Step

Snapdrop

Docker Snapd

Ubuntu:

CentOS:

After adding your user to the docker group, you have to logout and login first, so that your group membership is re-evaluated.

Docker Compose

A tool for deploying multi-container applications which services are specified in a YAML file.

VMware Remote Console

Download: https://www.vmware.com/go/download-vmrc

VMware OVF Tool

Download: https://code.vmware.com/web/tool/4.3.0/ovf

These two binaries were downloaded locally (to my Notebook) first, then got packed into a zip archive and copied via scp to my desktop(s).

Unpack afterwards:

Docker Snapd
Installing the OVF Tool for CentOS requires the installation of the ncurses-compat-libs package first.

Make them executable and start the installation:

Enpass

A secure vault which is available for all mobile and desktop platforms.

Docker Snapdragons

Ubuntu:

CentOS:

Thanks for reading.

Change Log:

  • [2020-03-18]: Added Snap (package manager); Remmina (Remote Desktop Client); Section “Content sharing”; Dropbox client