To install Docker on our Reaspberry Pi first we need to SSH to the instance and then we have to switch to root user to proceed with installation.
The below mentioned signle liner command is sufficient to install Docker on Raspberry PI
curl -sSL https://get.docker.com/ | sh
The above single liner command will install Docker as well as it’s dependency packages:
Verify Docker version
Now we have installed Docker 19.03 on our Rasphberry Pi. But if you careffully read the out put of our installation command; you should able to see that it’s instructed to add the non-root user’s to the docker group if you like to use Docker it as non-root user.
In our case we have to add pi user to the docker group. Below is the command that we nee to execute to add the user pi to docker group and verify:
Let us switch to the pi user and see if we are able to run any docker command or not
Run hello-world container
Using the below command we will run the hello-world container.
In this article, we will learn about Helm, starting from its definition and covering its usage for deployment and debugging. You can use the toggle menu on t...
In my previous post we learnt how to deploy a local kubernetes cluster for deveopment purpose. In this topic we will create a production grade kubernetes clu...
In my previous posts we learnt about Kubernetes concepts. Now time to create a small kubernetes cluster for our local experiments using minikube. This is not...
In our previous chapter from #k8sSeries which is “Understanding Kubernetes Part-I” we discussed about what is Kubernetes and also we learnt various component...
Comments