SiloCityLabs / lochnas

Docker configuration for all-in-one nas setup
https://lochnas.com
GNU General Public License v3.0
50 stars 3 forks source link

Install docker #34

Closed ldrrp closed 2 years ago

ldrrp commented 2 years ago

Problem

Currently the user can just startup and the server will fail because command not found for docker. This is not very user friendly for those not familiar with linux.

Solution

On startup we check if docker is installed and ask the user to install it if it is not. If they want to self install we link them to documentation on how to install the latest docker. We should also check for a minimum version of docker as it will fail for the version included in ubuntu 16 default.

See app.go DockerInstalled() function

Steps to Reproduce the Problem

  1. ./server.bin