How to install that latest version of Docker on AlmaLinux


Jack Wallen shows you how to replace Podman on AlmaLinux 9 with the Docker CE runtime engine.

coding code program compute coder develop developer development
Image: REDPIXEL/Adobe Stock

AlmaLinux is a Red Hat Enterprise Linux clone, which means it doesn’t ship with Docker installed. In fact, most RHEL-based distributions are now defaulting to Podman. Although Podman is a close drop-in for Docker, I still have a penchant for the original, so I prefer to use that technology over its replacement.

The problem is that installing Docker on an RHEL-based distribution isn’t exactly straightforward. It’s not hard, but without knowing the right steps or flags to use, you’ll find it almost impossible to get Docker installed.

SEE: Hiring kit: Back-end Developer (TechRepublic Premium)

Fortunately, I’ve taken one for the team and figured out how it can be done without too much stress. Let’s make it happen.

What you’ll need to install Docker on AlmaLinux

The only things you’ll need to make this work are a running instance of AlmaLinux 9 and a user with sudo privileges.

How to install Docker CE on AlmaLinux

Log in to your instance of AlmaLinux and make sure it’s updated with the command:

sudo dnf update

A word of warning — the update will take some time. Depending on how long it has been since the last update (and the speed of your network connection), give this process anywhere from 10 to 60 minutes. For me, it took around 30 minutes to complete.

Once the update finishes, you’ll then need to install the development tools, which come by way of a handy group. This installation can be done with the command:

sudo dnf groupinstall "Development Tools"

Again, this installation will take some time. It’s faster than the update, but expect to at least watch the output from the command for five or so minutes.

When that completes, you should probably reboot the server if the update included the kernel. When the reboot finishes, log back in and add the necessary Docker repository with the command:

sudo dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo

With the repository added, we can now install Docker CE. However, this is where the trick comes into play. If you simply issue the command:

sudo dnf install docker-ce -y

The command will fail. Why? Because many of the Docker dependencies conflict with Podman and its dependencies. To get around that you have to install Docker CE while removing Podman and its associated packages at the same time. This is done with the command:

sudo dnf install docker-ce --allowerasing

After the above command completes, start and enable the Docker service with:

sudo systemctl enable --now docker

Finally, add your user to the docker group with the command:

sudo usermod -aG docker $USER

Log out and log back in.

You can test the new installation by pulling down the hello-world image with the command:

docker pull hello-world

Congratulations, you’ve just replaced Podman with Docker on AlmaLinux. Whether or not you should do this depends on whether you find Podman a worthy successor to Docker. If not, this is your best route outside of switching to an Ubuntu-based server distribution.

Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the latest tech advice for business pros from Jack Wallen.



Source link

istanbul escort aksaray escort arnavutköy escort ataköy escort avcılar escort avcılar türbanlı escort avrupa yakası escort bağcılar escort bahçelievler escort bahçeşehir escort bakırköy escort başakşehir escort bayrampaşa escort beşiktaş escort beykent escort beylikdüzü escort beylikdüzü türbanlı escort beyoğlu escort büyükçekmece escort cevizlibağ escort çapa escort çatalca escort esenler escort esenyurt escort esenyurt türbanlı escort etiler escort eyüp escort fatih escort fındıkzade escort florya escort gaziosmanpaşa escort güneşli escort güngören escort halkalı escort ikitelli escort istanbul escort kağıthane escort kayaşehir escort küçükçekmece escort mecidiyeköy escort merter escort nişantaşı escort sarıyer escort sefaköy escort silivri escort sultangazi escort suriyeli escort şirinevler escort şişli escort taksim escort topkapı escort yenibosna escort zeytinburnu escort porno 1080p porno izle 4k porno izle 720p porno izle abella danger alman alman porno alman porno izle aloha tube porno amatör amatör porno amatör porno izle anal anal porno anal porno izle arap porno asa akira porno asyalı porno bangbros porno bangbros porno izle banyoda sikis başörtülü porno beeg porno izle beyaz tenli porno izle biseksuel porno izle bisexsuel porno brandi love porno brazzers brazzers porno izle canli porno canli porno izle çinli porno çinli porno izle ensest porno ensest porno izle ensest seks erotik porno erotik porno izle esmer porno esmer porno izle etek altı fake agent fake taxi fake taxi porno fantazi pornoları fantezi porno izle fetiş porno fetiş porno izle fetish fransız porno fransız porno izle full hd hg porno izle gangbang porno genç kız porno izle genç kız sikişi genç teen porno izle gizli çekim porno gizli çekim pornosu grup pornosu grup porno grup porno izle hd pornolar hd porno hd porno izle hemşire porno hemşire pornosu hizmetçi porno hizmetçi porno izle ingiliz porno japon pornoları japon porno kızlık bozma kızlık bozma porno izle konulu porno konulu porno izle koreli porno köylü pornoları kumral porno kumral porno izle latin pornoları latin porno latin porno izle lezbiyen pornoları lezbiyen porno lezbiyen porno izle lisa ann porno liseli pornoları liseli porno liseli porno izle manken porno manken porno izle masaj porno izle masturbasyon porno izle masturbasyon pornoları mature porno mia khalifa porno mia malkova porno milf porno izle mobil porno mobil porno izle öğrenci porno izle öğretmen porno izle okul porno izle olgun kadın pornosu olgun porno oral porno oral porno izle oral seks porna izle pornhub pornhub porno izle porno film izle porno indir porno izle porno resimler porno star porntube porno izle redtube redtube pornoları riley reid porno rokettube rus pornoları rus porno rus porno izle sakso blowjob porno izle sarışın pornoları sarışın porno sarışın porno izle sarışın pornoları sekreter porno shemale sikiş sikiş sikiş izle şişman porno siyahi pornoları suriyeli pornoları swinger porno tecavüz porno teen porn türbanlı pornoları türbanlı porno türk pornoları türk porno türk porno izle türkçe altyazılı porno türkçe altyazılı porno izle xhamster pornoları xhamster porno xhamster porno izle xnxx xnxx porno xnxx porno izle xvideos xvideos porno izle yaşlı porno yeşilçam porno izle youjizz youporn youporn porno izle zenci porno güvenilir bahis siteleri bahis siteleri casino deneme bonusu casino siteleri deneme bonusu para yatırma bonusu bahis siteleri casino siteleribahis sitesi para yatırma