![]() Let’s verify that we have installed Docker Engine by running the hello-world image. Sudo apt-get install docker-ce docker-ce-cli containerd.io $(lsb_release -cs) stable" | sudo tee /etc/apt//docker.list > /dev/nullįirstly, we will update the apt package index and then install the latest version of Docker Engine and containerd. Now, let’s use the following command to setup the stable repository for arm64. I would like to suggest studying the differences between amd64, 64 and armhf. Therefore, we will need to install Docker Engine that supports 64-bit operating system on an arm64 architecture such as our current Ubuntu 20.04 LTS on RPI 4. We have decided to utilize Ubuntu 20.04 LTS on our RPI 4 because it’s a 64-bit operating system. ![]() We should know that RPI 4 is an arm64 architecture, but the Raspberry Pi OS is a 32-bit operating system. If you need to install the CURL, type in $ sudo apt-get install curl -y curl -versionĭocker Engine is supported on x86_64 (or amd64), armhf, and arm64 architectures. If you were unable to download the GPG key, check if you have the CURL command-line utility installed on your Ubuntu 20.04 by typing $ curl –version. curl -fsSL | sudo gpg -dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg The commands below is to download and install Docker’s official GPG key, which is used to validate packages installed from Docker’s repository making sure they’re trusted. We will setup Docker’s repository and then install from them for ease of installation and upgrade tasks as it’s the recommended approach.ġ - Setup the Repository: sudo apt-get update ![]() The following approach is the method from the official Docker site. There are different methods to install Docker Engine. Removing these packages will free space and prevent your system from cluttering. If this is not the packages first time to run an update, there might have some unnecessary packages left for cleaning. The -y in the end of the command line will automatically enters “yes” as a confirmation before installing the updates. ![]() We will run the following update/upgrade commands. Updating and upgrading the operating system of the instance is always a good habit to have. Now, we have a secured connection with our instance, let’s update and upgrade the operating system. As of 11/25/21, if you were unable to install Docker on RPI-4 running Ubuntu 21.10, you may need to install extra kernel modules by running the following command $ sudo apt install linux-modules-extra-raspi Updating the Operating System ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |