Skip to content

Commit 92d582a

Browse files
author
Nik Mohamad Aizuddin b. Nik Azmi
committed
fix: Prefix image name with project name, to prevent image conflicts
1 parent 7c2f37d commit 92d582a

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

kafka-pubsub/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $ podman run -it --rm --network=sampleapps docker.io/bitnami/kafka:2.6.0 /opt/bi
2121
## Deploy producer and consumer services
2222

2323
```
24-
$ podman build -t extra2000/prodcon:latest .
24+
$ podman build -t extra2000/kafka-pubsub/prodcon .
2525
$ podman play kube --network=sampleapps producer-pod.yaml
2626
$ podman play kube --network=sampleapps consumer-pod.yaml
2727
```

kafka-pubsub/consumer-pod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ spec:
66
restartPolicy: Never
77
containers:
88
- name: consumer
9-
image: extra2000/prodcon
9+
image: extra2000/kafka-pubsub/prodcon
1010
command: ['npm', 'run', 'consumer']

kafka-pubsub/producer-pod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ spec:
66
restartPolicy: Never
77
containers:
88
- name: producer
9-
image: extra2000/prodcon
9+
image: extra2000/kafka-pubsub/prodcon
1010
command: ['npm', 'run', 'producer']

kong-podman/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $ podman run -it --rm --network=sampleapps docker.io/curlimages/curl curl http:/
3434
## Running NodeJS webservice
3535

3636
```
37-
$ podman build -t extra2000/webservice:latest .
37+
$ podman build -t extra2000/kong-podman/webservice .
3838
$ podman play kube --network=sampleapps webservice-pod.yaml
3939
```
4040

kong-podman/webservice-pod.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ spec:
66
restartPolicy: Never
77
containers:
88
- name: webservice
9-
image: localhost/extra2000/webservice
9+
image: extra2000/kong-podman/webservice
1010
ports:
1111
- containerPort: 8000
1212
protocol: tcp

math/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Sample apps: Math
22

33
```
4-
$ podman build -t extra2000/mathapp:latest .
5-
$ podman run --rm extra2000/mathapp
4+
$ podman build -t extra2000/math/mathapp .
5+
$ podman run --rm extra2000/math/mathapp
66
```

zeromq-pushpull/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Sample apps: ZeroMQ Push/Pull
22

33
```
4-
$ podman build -t extra2000/zeromq-pushpull:latest .
4+
$ podman build -t extra2000/zeromq-pushpull/pushpull .
55
$ podman play kube --network=sampleapps zeromq-pushpull-pod.yaml
66
```
77

zeromq-pushpull/zeromq-pushpull-pod.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ spec:
66
restartPolicy: Never
77
containers:
88
- name: producer
9-
image: extra2000/zeromq-pushpull
9+
image: extra2000/zeromq-pushpull/pushpull
1010
command: ['npm', 'run', 'producer']
1111
ports:
1212
- containerPort: 3000
1313
hostPort: 3000
1414
protocol: tcp
1515
- name: worker
16-
image: extra2000/zeromq-pushpull
16+
image: extra2000/zeromq-pushpull/pushpull
1717
command: ['npm', 'run', 'worker']

0 commit comments

Comments
 (0)