• About
  • Disclaimer
  • Privacy Policy
  • Contact Us
Friday, September 22, 2023
Tech Fashion Web
  • Home
  • Fashion
    • Footwear
    • Culture
  • Technology
    • Tech Solution
    • Website Design
    • Cyber Security
    • Software
  • Business
  • Digital Marketing
    • SEO
    • Social Media
  • Travel
  • Entertainment
    • Music
    • Celebrity
  • Health
    • Food
  • lifestyle
    • Home
  • More
    • Gaming
    • Gadgets
    • Education
    • Electronics
    • Gadgets
    • Reviews
    • Law
No Result
View All Result
  • Home
  • Fashion
    • Footwear
    • Culture
  • Technology
    • Tech Solution
    • Website Design
    • Cyber Security
    • Software
  • Business
  • Digital Marketing
    • SEO
    • Social Media
  • Travel
  • Entertainment
    • Music
    • Celebrity
  • Health
    • Food
  • lifestyle
    • Home
  • More
    • Gaming
    • Gadgets
    • Education
    • Electronics
    • Gadgets
    • Reviews
    • Law
No Result
View All Result
Tech Fashion web
No Result
View All Result
How to install Podman support in Cockpit on AlmaLinux 8

How to install Podman support in Cockpit on AlmaLinux 8

by Tech Fashion
May 3, 2022
in Technology
0
325
SHARES
2.5k
VIEWS
Share on FacebookShare on Twitter


If you’re looking for an easy way to manage your Podman container deployments on AlmaLinux, Jack Wallen believes Cockpit is one of the simplest solutions.

Image: Larich/Shutterstock

AlmaLinux is an excellent option for businesses looking for a server-based operating system that can host an endless stream of services and applications. But for those who want to use AlmaLinux as a container implementation platform, you must migrate from docker to Podman, as the container runtime supported by RHEL-based OS has changed, and getting Docker up and running on the OS is a serious challenge.

SEE: Hiring Kit: Back-end Developer (Tech Republic Premium)

Open Source: Coverage You Must Read

Fortunately, you don’t have to worry so much about learning a completely different set of commands, as Podman is almost a 1:1 replacement for Docker. Another reason is that you can add Podman support to: Cockpitfor a web-based GUI to manage your containers.

Cockpit is the default web management panel for all things RHEL, and AlmaLinux also benefits from the tool.

I want to show you how to add Podman support to AlmaLinux and how to access it from Cockpit.

What you need

All you need to add Podman support to Cockpit is a running instance of AlmaLinux and a user with sudo privileges. That’s it, let’s get to work.

How to add Podman support

First, Podman should already be installed on AlmaLinux by default. If you are not sure, log into your AlmaLinux instance and run the command:

podman -v

The output must contain the version of Podman currently installed on AlmaLinux.

Run the following command to add Podman support to Cockpit:

sudo dnf install cockpit-podman -y

That’s all there is to install.

Enable Cockpit

For some reason, Cockpit is installed by default but not enabled (this really needs to be changed). The good news is that enabling Cockpit is very simple. From the terminal window, issue the command:

sudo systemctl enable --now cockpit.socket

How to access Cockpit

Now that Cockpit is successfully enabled, open a web browser and point it to https://SERVER:9090 (where SERVER is the IP address or domain of the hosting server.

You will be greeted by the Cockpit login window, which (strangely) still bears the CentOS Stream brand (Image A†

Image A

I think AlmaLinux didn't get the memo that Cockpit is still branded for CentOS Stream.
I think AlmaLinux didn’t get the memo that Cockpit is still branded for CentOS Stream.

Log in with any account that has sudo permissions and you should see the Podman containers in the left navigation (Figure B†

Figure B

Podman support has now been added to Cockpit.
Podman support has now been added to Cockpit.

Clicking on Podman containers will inform you that the daemon is not running (Figure C†

Figure C

The Podman daemon is not running on our server.
The Podman daemon is not running on our server.

Click Start Podman to start the daemon. Once the daemon has started, you will be redirected back to the container management window (Figure D), where you can create your first container.

Figure D

The Podman container management window within Cockpit.
The Podman container management window within Cockpit.

How to make your first container

Since we’re here, let’s create our first Podman container. Click Create Container and in the resulting window type nginx in the image search field. Make sure to select an official version of the nginx image. After selecting the image, click Integration and add any needed port mapping (such as external port 8080 to internal port 80–Figure E†

Figure E

If you set the IP address to 0.0.0.0, the container will be bound to all IPs on the host.
If you set the IP address to 0.0.0.0, the container will be bound to all IPs on the host.

Click Create and the image will be downloaded and the container deployed. You can then point your web browser to the IP address of your AlmaLinux server on port 8080 to view the NGINX welcome page (Figure F†

Figure F

A successful NGINX container implementation of Cockpit on AlmaLinux.
A successful NGINX container implementation of Cockpit on AlmaLinux.

Congratulations, you have just added Podman support to AlmaLinux to make it easier to manage your Podman container deployments.

Subscribe to TechRepublic’s How to make technology work on YouTube for all the latest technical advice for business professionals from Jack Wallen.



Source link

Share130Tweet81Share33
Previous Post

Notion vs Trello | Project Management Software Comparison

Next Post

My first impressions of the Android 13 beta

Tech Fashion

Tech Fashion

Related Posts

Which tool is best for your business?
Technology

Which tool is best for your business?

by Tech Fashion
March 24, 2023
LG Will Spend $5.5 Billion on a Battery Factory in Arizona
Technology

LG Will Spend $5.5 Billion on a Battery Factory in Arizona

by Tech Fashion
March 24, 2023
Intel Announces New vPro Platform Running on 13th Generation Core
Technology

Intel Announces New vPro Platform Running on 13th Generation Core

by Tech Fashion
March 24, 2023
Beat the roaming charges with this eSIM
Technology

Beat the roaming charges with this eSIM

by Tech Fashion
March 23, 2023
Next Post
My first impressions of the Android 13 beta

My first impressions of the Android 13 beta

How to Uninstall Microsoft Edge from Windows 11

How to Uninstall Microsoft Edge from Windows 11

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

No Result
View All Result

Categories

  • Business (2)
  • Celebrity (10)
  • Culture (8)
  • Education (8)
  • Entertainment (3)
  • Fashion (12)
  • Food (7)
  • Footwear (7)
  • Health (6)
  • Lifestyle (14)
  • Music (6)
  • Social Media (2)
  • Software (4)
  • Tech Solution (1)
  • Technology (1,884)
  • Travel (12)
  • Website Design (2)

Recent.

Which tool is best for your business?

Which tool is best for your business?

March 24, 2023
LG Will Spend $5.5 Billion on a Battery Factory in Arizona

LG Will Spend $5.5 Billion on a Battery Factory in Arizona

March 24, 2023
Intel Announces New vPro Platform Running on 13th Generation Core

Intel Announces New vPro Platform Running on 13th Generation Core

March 24, 2023
Tech Fashion Web

We bring you the best Premium WordPress Themes that perfect for news, magazine, personal blog, etc. Check our landing page for details.

Category

  • Business
  • Celebrity
  • Culture
  • Education
  • Entertainment
  • Fashion
  • Food
  • Footwear
  • Health
  • Lifestyle
  • Music
  • Social Media
  • Software
  • Tech Solution
  • Technology
  • Travel
  • Website Design

Recent Posts

  • Which tool is best for your business? March 24, 2023
  • LG Will Spend $5.5 Billion on a Battery Factory in Arizona March 24, 2023
  • Intel Announces New vPro Platform Running on 13th Generation Core March 24, 2023

Contact Us

    © 2021 techfashionweb.com . All rights reserved.

    No Result
    View All Result
    • Home
    • Fashion
      • Footwear
      • Culture
    • Technology
      • Tech Solution
      • Website Design
      • Cyber Security
      • Software
    • Business
    • Digital Marketing
      • SEO
      • Social Media
    • Travel
    • Entertainment
      • Music
      • Celebrity
    • Health
      • Food
    • lifestyle
      • Home
    • More
      • Gaming
      • Gadgets
      • Education
      • Electronics
      • Gadgets
      • Reviews
      • Law

    © 2021 techfashionweb.com . All rights reserved.