Steps to Install and Run Docker Image on Raspberry Pi board:
1. Connect Raspberry Pi from VSC via SSH connection
2. Run Command "sudo apt install docker.io"
3. Check if docker is installed properly by checking version "docker --version"
4. Pull simple docker hello-world image, by running command "docker run hello-world"
5. If permission access is shown then run below commands to add user.
sudo usermod -a -G docker $USER
grep docker /etc/group
newgrp docker
6. Hello world message will be shown after running Docker image
8. From available docker image list, we can run the image whichever we want
example. docker run hello-world:latest
Comments
Post a Comment