Install Jenkins Via Dcoker

Install and Run Apache Using Docker

🚀 Install and Run Apache Web Server Using Docker on RHEL

Step 1️⃣ Install Docker

sudo yum install -y docker
sudo systemctl start docker
sudo systemctl enable docker
sudo systemctl status docker

Step 2️⃣ Pull Apache Image

docker pull ubuntu/apache2:2.4-20.04_beta

Step 3️⃣ Create Container

docker create \
  --name apache2 \
  -p 80:80 \
  ubuntu/apache2:2.4-20.04_beta

Step 4️⃣ Start Container

docker start apache2
Code copied to clipboard ✅

Comments

Popular posts from this blog

How to Create a PVC from Azure Files for Use in AKS

Access Modes in Azure Kubernetes Service (AKS)

Deploy Apache Web Server Using Docker: A Step-by-Step Guide