Docker Installation Guides
We highly recommend using Linux for your NodeZero Host.
“Docker is a tool designed to make it easier to create, deploy, and run applications by using containers. Containers allow a developer to package up an application with all of the parts it needs, such as libraries and other dependencies, and deploy it as one package. By doing so, thanks to the container, the developer can rest assured that the application will run on any other Linux machine regardless of any customized settings that machine might have that could differ from the machine used for writing and testing the code.”
Follow the instructions below to install Docker
Linux Guide
The NodeZero Docker container can be hosted on most Linux Operating Systems by using Docker Community Edition. The following steps cover installing docker on Ubuntu. If you prefer a different Linux OS, view these other Linux references.
Install Docker on Ubuntu
sudo su
apt-get update
apt-get install docker-ce docker-ce-cli containerd.io
On Ubuntu version 20.04, replace the above command apt-get install docker-ce docker-ce-cli containerd.io with sudo apt-get install -y docker.io
References for installing Docker on Linux:
- Install Docker Engine Information Page
- Install Docker on Ubuntu
- Install Docker on CentOS
- Install Docker on Debian
- Install Docker on Fedora
Once you've installed Docker on your Linux OS, you're done! Now validate NodeZero is ready to operate.
Synology Guide
1. Install the Docker app
- To install the Docker app from the Synology UI, open the Package Center app.
- In Package Center, search for docker.
- Click on install.
- Click open.
The docker app is now installed and running.
2. Confirm SSH is enabled
- In the Synology UI, navigate to Control Panel > Terminal & SNMP > Terminal.
- If it is disabled, check ‘enable SSH’ with the port set to 22. Click apply.
3. Confirm User Home Service is enabled
The user account that will be used to SSH to the Synology NAS must have the User Home Service feature enabled for their account. Please note that depending on the version of Synology you are using, the path to enable the user home service is slightly different.
Synology version 6.2 To enable User Home Service in the Synology UI, navigate to Control Panel > User > Advanced. Tick the ‘Enable user home’ service box and click apply.
Synology version 7.0 To enable User Home Service in the Synology UI, navigate to Control Panel > User & Group > Advanced. Tick the ‘Enable user home service’ service box and click apply.
4. SSH to the Synology NAS
- Log in with the user that has User Home Service enabled.
- By default, you should land in the home directory for that user. If not, cd to the following directory:
cd /var/services/homes/<username>
Once you've installed Docker, you're done! Now validate NodeZero is ready to operate.
Windows Guide
Using a desktop hypervisor such as VirtualBox (free), VMware Player (free) or VMware Workstation (paid) allows more advanced control. This enables choosing the Operating System (OS) to use as a Docker host by running a Virtual Machine (VM) within the desired desktop hypervisor of choice. This option requires the installation of the desktop hypervisor, deploying a VM or OVA template, and installing Docker on the deployed VM’s OS.
References for installing desktop hypervisors on Windows:
- VirtualBox (free)
- VMware Player (free)
- Guides to deploy an Ubuntu VM:
Once you've installed Docker, you're done! Now validate NodeZero is ready to operate.
MacOS Guide
Using a desktop hypervisor such as VirtualBox, VMware, or Parallels allows better functionality and more advanced control. This enables choosing the Operating System (OS) to use as a docker host by running a Virtual Machine (VM) within the desired desktop hypervisor of choice. This option requires the installation of the desktop hypervisor, deploying a VM or OVA template, and installing Docker on the deployed VM’s OS.
References for installing desktop hypervisors on macOS:
- VirtualBox (free)
- VMware Fusion
- Parallels Desktop
- Guides to deploy an Ubuntu VM:
Once you've installed Docker, you're done! Now validate NodeZero is ready to operate.