Comments

Latest Posts

Run Free Arm-based Oracle Linux with 1 oCPU and 6G Ram (Install Docker/Docker Compose/Portainer/Ubuntu Virtual Desktop)

ARM is a RISC architecture. RISC stands for Reduced Instruction Set Computing. This means that the CPU has a limited number of instructions it can use. As a result, each instruction runs in a single cycle and the instructions are simpler. Meanwhile, x86 is a CISC architecture, which stands for Complex Instruction Set Computing.

ARM is designed to be smaller, more energy-efficient, and creates less heat.

One problem is that x86 programs can’t run on ARM. Most programming languages can target ARM just fine. Any currently-maintained programs should have few problems. Anything written in Assembly will need to be rewritten to work on ARM though.

There’s also an issue of speed. Since ARM has fewer instructions, developers need to use more instructions.


For x86_64 architecture 's CentOS 8 and Ubuntu 20.04 version, you can find this post about how to install Docker/Docker-Compose:




Choose Oracle Image. Default username is opc


System Update

Check System Public IP:


[[email protected] ~]# curl https://ip.51sec.org/api
132.145.100.226
Update Oracle Linux 8 system to latest:

 [[email protected] ~]# yum upgrade -y && yum update -y



Install Docker


dnf install -y dnf-utils zip unzip
dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo

dnf remove -y runc
dnf install -y docker-ce --nobest

systemctl enable docker.service
systemctl start docker.service

systemctl status docker.service
docker info
docker version

Install Docker-Compose


yum install -y libffi libffi-devel openssl-devel python3 python3-pip python3-devel
pip3 install docker-compose
ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

Install Portainer



[[email protected] ~]# docker volume create portainer_data
portainer_data
[[email protected] ~]# docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest

Run a Ubuntu 20.04 Desktop

Docer hub image repository: https://hub.docker.com/r/fredblgr/ubuntu-novnc


docker run -p 6080:80 fredblgr/ubuntu-novnc:20.04

http://<Public IP>:6080


From Ubuntu terminal, you can install firefox to have a browser for your internet. 

apt update

apt install firefox -y


References













No comments