File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
03-Pull-from-DockerHub-and-Run-Docker-Images Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,28 @@ docker pull stacksimplify/dockerintro-springboot-helloworld-rest-api:1.0.0-RELEA
16
16
```
17
17
docker run --name app1 -p 80:8080 -d stacksimplify/dockerintro-springboot-helloworld-rest-api:1.0.0-RELEASE
18
18
http://localhost/hello
19
+
20
+ # For Mac with Apple Chips (use different application)
21
+ Step-1: Install Docker with Apple Chips binary (https://docs.docker.com/desktop/mac/install/) on your mac machine
22
+
23
+ Step-2: Run the simple Nginx Application container.
24
+ docker run --name kube1 -p 80:80 --platform linux/amd64 -d stacksimplify/kubenginx:1.0.0
25
+ http://localhost
26
+
27
+ ## Sample Output
28
+ kalyanreddy@Kalyans-Mac-mini-2 ~ % docker run --name kube1 -p 80:80 --platform linux/amd64 -d stacksimplify/kubenginx:1.0.0
29
+ 370f238d97556813a4978572d24983d6aaf80d4300828a57f27cda3d3d8f0fec
30
+ kalyanreddy@Kalyans-Mac-mini-2 ~ % curl http://localhost
31
+ <!DOCTYPE html>
32
+ <html>
33
+ <body style="background-color:lightgoldenrodyellow;">
34
+ <h1>Welcome to Stack Simplify</h1>
35
+ <p>Kubernetes Fundamentals Demo</p>
36
+ <p>Application Version: V1</p>
37
+ </body>
38
+ </html>%
39
+ kalyanreddy@Kalyans-Mac-mini-2 ~ %
40
+
19
41
```
20
42
21
43
## Step-4: List Running Containers
You can’t perform that action at this time.
0 commit comments