Skip to content
This repository has been archived by the owner on Mar 22, 2018. It is now read-only.

Latest commit

 

History

History
70 lines (49 loc) · 1.43 KB

File metadata and controls

70 lines (49 loc) · 1.43 KB

Apache CentOS 7 Atomic App

Description

A centos/apache container similar to the "helloapache" example.

Deployment

Deploying with Default Parameters

Using Atomic CLI
sudo atomic run projectatomic/apache-centos7-atomicapp
Using Atomic App
sudo atomicapp run projectatomic/apache-centos7-atomicapp

Deploying with User-Provided Parameters

Using Atomic CLI
sudo atomic run projectatomic/apache-centos7-atomicapp --mode fetch --destination helloapache
cd apache-centos7-atomicapp
cp answers.conf.sample answers.conf # Modify then copy answers.conf.sample
sudo atomic run projectatomic/apache-centos7-atomicapp .
Using Atomic App
atomicapp fetch projectatomic/apache-centos7-atomicapp --destination helloapache
cd apache-centos7-atomicapp
cp answers.conf.sample answers.conf # Modify then copy answers.conf.sample
atomicapp run .

Interaction

Using the Docker Provider

The default port is :80.

curl localhost
<html-foobar>

Using the Kubernetes Provider

By default kubernetes will assign an available external IP.

kubectl describe pod apache-centos7-atomicapp
Name:           apache-centos7-atomicapp
Namespace:      default
Node:           127.0.0.1/127.0.0.1
Start Time:     Wed, 30 Mar 2016 15:05:50 -0400
Labels:         app=apache-centos7-atomicapp
Status:         Running
IP:             172.17.0.5

curl 172.17.0.5
<html-output>