[LINUX] raspberry pi 4 centos7 install on docker

Start Docker on raspberry pi 4 (raspberry pi os) and start Centos 7 on it It is the construction memo (As of 2020.07.30, under construction)

environment: raspberry pi 4 docker (web installation with the bundled function of openmediavault)

Step 1 Install docker image for centos7

pi@raspi:~ $ sudo su root@raspi:/home/pi# docker pull centos:centos7

Step 2 start docker

root@raspi:/home/pi# docker run -it -d --privileged --name centos7-1 centos:centos7 /sbin/init

Step 3 Confirm that the centos7-1 container is running in Portainer Launch the Portainer console and enter:

yum update yum install NetworkManager systemctl enable NetworkManager.service systemctl start NetworkManager.service yum -y install openssh-server systemctl enable sshd.service systemctl start sshd.service

Step 4 Install various

yum install python3 python3-pip pip install flask

Step 5 Create an image from the container

Stop the container from the WEB console Execute the following command from the console docker commit centos7-1 centos7base:centos7base

An image called centos7base will be created, so from the next time onwards, start from this image

Recommended Posts

raspberry pi 4 centos7 install on docker
Install OpenCV4 on Raspberry Pi 3
Install TensorFlow 1.15.0 on Raspberry Pi
Install ghoto2 on Raspberry Pi (memo)
Install OpenMedia Vault 5 on Raspberry Pi 4
Install 64-bit OS (bate) on Raspberry Pi
Install docker-compose on 64-bit Raspberry Pi OS
How to install NumPy on Raspberry Pi
Install Faiss on CentOS 7
Install docker on Fedora31
Install numba on CentOS 7.2
pigpio on Raspberry pi
Install Python3.4 on CentOS 6.6
Install mecab-python on CentOS
Install Python 2.7.3 on CentOS 5.4
Install Docker on AWS
Cython on Raspberry Pi
Install awscli on centos7
Install Chainer on CentOS 6.7
Install Python 3.6 on Docker
Install Raspberry Pi OS (Raspbian)
Install ImageMagick-6.2.x series on CentOS7.7
Install Python 3.8 on CentOS 7 (SCL)
Install Chrome on CentOS 7 series
Install Python 3.8 on CentOS 8 (AppStream)
Install Docker on WSL Ubuntu 18.04
Introduced pyenv on Raspberry Pi
Use NeoPixel on Raspberry Pi
Installation of Docker on Raspberry Pi and L Chika
Install pyenv on Raspberry Pi and version control Python
Testing uart communication on Raspberry Pi
Steps to install MySQL 8.0 on CentOS 8.1
MQTT on Raspberry Pi and Mac
Steps to install VirtualBox on CentOS
Install java (Oracle JDK14) on CentOS7
Try using ArUco on Raspberry Pi
How to install PyPy on CentOS
OpenCV installation procedure on Raspberry Pi
How to install TensorFlow on CentOS 7
Install pip on CentOS7. Also iPython.
Install VirtualBox on CentOS 7 on VirtualBox (mac + vagrant)
Install Python on CentOS using Pyenv
Power on / off Raspberry pi on Arduino
Detect switch status on Raspberry Pi 3
How to install Maven on CentOS
Study Note 9_Install Jenkins on CentOS7
Install Python on CentOS using pyenv
L Chika on Raspberry Pi C #
Build wxPython on Ubuntu 20.04 on raspberry pi 4
"Honwaka Notification Lamp" on Raspberry Pi Part 2
Detect "brightness" using python on Raspberry Pi 3!
Enable sar command on CentOS (install sysstat)
USB boot on Raspberry Pi 4 Model B
"Honwaka Notification Lamp" on Raspberry Pi Part 1
Enable UART + serial communication on Raspberry Pi
Adafruit Python BluefruitLE works on Raspberry Pi.
Accelerate Deep Learning on Raspberry Pi 4 CPU
Set swap space on Ubuntu on Raspberry Pi
Programming normally with Node-RED programming on Raspberry Pi 3
Use the Grove sensor on the Raspberry Pi
Dockerfile: Install Docker on your Linux server