Skip to content

Commit c539fea

Browse files
Updated Docker with Apple Chip container image
Updated Docker with Apple Chip container image
1 parent d3a465d commit c539fea

File tree

1 file changed

+22
-0
lines changed
  • 03-Pull-from-DockerHub-and-Run-Docker-Images

1 file changed

+22
-0
lines changed

03-Pull-from-DockerHub-and-Run-Docker-Images/README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,28 @@ docker pull stacksimplify/dockerintro-springboot-helloworld-rest-api:1.0.0-RELEA
1616
```
1717
docker run --name app1 -p 80:8080 -d stacksimplify/dockerintro-springboot-helloworld-rest-api:1.0.0-RELEASE
1818
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+
1941
```
2042

2143
## Step-4: List Running Containers

0 commit comments

Comments
 (0)