File tree Expand file tree Collapse file tree 2 files changed +21
-2
lines changed
Expand file tree Collapse file tree 2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change 11# k8s-workshop
22Workshop repository to play with Docker and Kubernetes
3+
4+
5+ ``` sh
6+ docker run -dit --name web -p 8080:80 -v /home/ccruz/website/:/usr/local/apache2/htdocs/ httpd:2.4-alpine
7+
8+
9+ docker build -t web:1.0 .
10+
11+ docker run -dit --name web -p 8080:80 web:1.0
12+
13+
14+ docker pull twogghub/k8s-workshop
15+
16+ kubectl run webk8s --image=twogghub/k8s-workshop:1.0
17+
18+ kubectl expose deployment webk8s --port=8080 --external-ip=$( minikube ip) --type=LoadBalancer
19+
20+ ```
21+
Original file line number Diff line number Diff line change 11<!DOCTYPE html>
22< html lang ="en ">
33< head >
4- < title > DockerWeb </ title >
4+ < title > Web </ title >
55</ head >
66< body >
7- < h1 > Simpler than this imposible! !</ h1 >
7+ < h1 > Hello !</ h1 >
88</ body >
99</ html >
You can’t perform that action at this time.
0 commit comments