Diagram of type 1 hypervisor, type 2 hypervisor and os level virtualization(container)
Steps involved in installing Docker on Raspberry Pi 4
Update and Upgrade
1. sudo apt-get update
2. sudo apt-get upgrade
3. curl sSL https://get.docker.com -o get-docker.sh
Execute the shell script using the command
4. sudo sh get-docker.sh
Add the current user to the docker group
5. sudo usermod -aG docker $USER
6. sudo reboot
groups cmd will show that docker the group member of the user qwakaw
To view the docker version
7. docker version
Execute a simple hello world container
8. docker run hello-world
Hiccups and fews cmds
List packages installed Raspberry Pi OS which is Debian based
apt list --installed
dpkg -l | grep neofetch
Hangs during upgrade process
Setting up realvnc-vnc-server (7.13.1.57) ...
Updating /etc/pam.d/vncserver
Updating /etc/pam.conf... done
Looking for font path...
Solution
sudo apt-get remove realvnc-vnc-server
cmd to view the env variables
printenv
printenv USER
or
echo $USER
6printenv-cmd.png
Used Photoflare to crop images in raspberry Pi 4(be patient when using the selection tool)
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.