@@ -13,6 +13,17 @@ with a local container registry, so we can push our container images to it. This
13
13
./kind-with-registry.sh
14
14
```
15
15
16
+ ** Note** : If you are using Podman Desktop, instead of Docker you need to run the following command to enable insecure registries:
17
+
18
+ ```
19
+ read -r -d '' registry_conf <<EOF
20
+ [[registry]]
21
+ location = "localhost:5001"
22
+ insecure = true
23
+ EOF
24
+ podman machine ssh --username=root sh -c 'cat > /etc/containers/registries.conf.d/local.conf' <<<$registry_conf
25
+ ```
26
+
16
27
Once you have the cluster up and running you can install Dapr:
17
28
18
29
``` bash
@@ -39,10 +50,15 @@ Once we have the container image created, we need to tag and push to the local r
39
50
Alternatively, you can push the images to a public registry and update the Kubernetes manifests accordingly.
40
51
41
52
``` bash
42
- docker tag producer-app:0.14 .0-SNAPSHOT localhost:5001/sb-producer-app
53
+ docker tag producer-app:0.15 .0-SNAPSHOT localhost:5001/sb-producer-app
43
54
docker push localhost:5001/sb-producer-app
44
55
```
45
56
57
+ ** Note** : for Podman you need to run:
58
+ ```
59
+ podman push localhost:5001/sb-producer-app --tls-verify=false
60
+ ```
61
+
46
62
From inside the ` spring-boot-examples/consumer-app ` directory you can run the following command to create a container:
47
63
``` bash
48
64
mvn spring-boot:build-image
@@ -52,10 +68,15 @@ Once we have the container image created, we need to tag and push to the local r
52
68
Alternatively, you can push the images to a public registry and update the Kubernetes manifests accordingly.
53
69
54
70
``` bash
55
- docker tag consumer-app:0.14 .0-SNAPSHOT localhost:5001/sb-consumer-app
71
+ docker tag consumer-app:0.15 .0-SNAPSHOT localhost:5001/sb-consumer-app
56
72
docker push localhost:5001/sb-consumer-app
57
73
```
58
74
75
+ ** Note** : for Podman you need to run:
76
+ ```
77
+ podman push localhost:5001/sb-consumer-app --tls-verify=false
78
+ ```
79
+
59
80
Now we are ready to install our application into the cluster.
60
81
61
82
## Installing and interacting with the application
0 commit comments