Articles tagged: Docker

Renaming the hostname of your Raspberry Pi (Raspbian)

One of the first things you want to do if you’ve just installed Raspbian on your Pi is to change the hostname. You can change your hostname by following these steps.

Steps

You can use the hostnamectl set-hostname [name] command, but that does not update /etc/hosts and causes issues with Docker and other networking services. I prefer to update /etc/hostname and /etc/hosts manually.

1. Change hostname

sudo nano /etc/hostname

Change raspberrypi to your desired hostname. Hit CTRL+O and then ENTER to save. Hit CTRL+X to exit.

How to install Docker on your Raspberry Pi

What is Docker?

Docker is an open-source project for automating the deployment of applications as portable, self-sufficient containers that can run on the cloud or on-premises. Docker works in collaboration with cloud, Linux, and Windows vendors, including Microsoft.

How to install Docker

With one of the latest releases of Docker, they added official support for Raspbian. You can now easily install Docker on your Raspberry Pi with one simple command.