I've decided to spin up a new VM to see what all the fuss abut Docker is about. I'll be following the guide on the official docker docs website which I will link to at the bottom of the post.
I'm going to set it up using repositories so that it will be easier to update in the future.
First i updated the package index and installed the ability to use repositories over https
sudo apt-get update
`sudo apt-get install \
Then I added Dockers GP key with
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
I set up the repository for smd 64bit with
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
Run a package update again and then use
sudo apt-get install docker-ce docker-ce-cli containerd.io to install docker
Then to test that it was working I ran
sudo docker run hello-world
It seems everyting was installed correctly so I'm going to move on to some post install
To enable Docker to start on boot I'll simply run
sudo systemctl enable docker
I'll also add docker as a user and group so that it can be accesses more easily from a non root-user account
sudo groupadd docker
sudo usermod -aG docker $USER
You should be able to run commands without sudo now.
Docker Install Guide
Docker Post Installation
Getting Started Guide
Since I needed a way to document my installations and such on my personal server and websites because I'll eventually mess up and have to rebuild the whole thing (already happened once) I started looking for a blogging platform.
I decided to go with Chyrp Lite for my blog of choice. Hopefully it'll work out (if this site is currently not using Chyrp then you'll know it didn't.
I first created a new subdomain and SQL database on my website seanpmcmillin.com
Then I downloaded the latest release of Chyrp from the github repository. At the time of writing it was v2019.02. After downloading I used FileZilla to connect via FTP to my website's new subdomain folder and uploaded the contents of the release to it.
After that I just entered the line
blog.seanpmcmillin.com/install.php into my browsers url bar and I was taken to the installation page. I typed in the information of the database I created earlier and voila, I had a working blog.
This was a very simple install and I'm glad I was able to get it working. What took the longest was determining what software to use and that running it on an LXC wouldn't be the best idea right now. Good thing I already had a website through an outside host!
I realize now that blogging/documenting my projects is going to be a lot of work. But it has to be done so I'll just have to get used to it!
Chyrp Quick Start Guide