Skip to content

Commit 21e1824

Browse files
Adding ai-bootcamp html files
1 parent 9daa57b commit 21e1824

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

codelabs/ai-bootcamp/codelab.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"format": "html",
44
"prefix": "https://storage.googleapis.com",
55
"mainga": "UA-49880327-14",
6-
"updated": "2025-09-23T11:29:27Z",
6+
"updated": "2025-09-23T11:58:37Z",
77
"id": "ai-bootcamp",
88
"duration": 49,
99
"title": "AI Bootcamp - Solace HQ",

codelabs/ai-bootcamp/index.html

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,26 @@
3636
</google-codelab-step>
3737

3838
<google-codelab-step label="Load Enterprise Image" duration="2">
39-
<ol type="1">
39+
<aside class="special"><p> If you don&#39;t have <code>docker</code> you can use <code>podman</code> and replace every docker command with podman</p>
40+
</aside>
41+
<ol type="1">
4042
<li>Download the enterprise image from <a href="https://products.solace.com/" target="_blank">https://products.solace.com/</a></li>
4143
<li>Load the image into your local docker</li>
4244
</ol>
4345
<pre><code>docker load -i path/to/solace-agent-mesh-enterprise-{version}.tar.gz
4446
</code></pre>
47+
<pre><code>podman load -i path/to/solace-agent-mesh-enterprise-{version}.tar.gz
48+
</code></pre>
4549
<p>On successful loading, check the list of existing images</p>
4650
<pre><code>docker images
4751
</code></pre>
52+
<pre><code>podman images
53+
</code></pre>
4854
<aside class="special"><p> Tip: you can rename the image and tag as follows</p>
4955
<pre><code>docker tag &lt;original_name&gt;:&lt;original_tag&gt; solace-agent-mesh-enterprise:&lt;version&gt;
5056
</code></pre>
51-
</aside>
52-
<aside class="special"><p> If you don&#39;t have <code>docker</code> you can use <code>podman</code> and replace every docker command with podman</p>
57+
<pre><code>podman tag &lt;original_name&gt;:&lt;original_tag&gt; solace-agent-mesh-enterprise:&lt;version&gt;
58+
</code></pre>
5359
</aside>
5460

5561

@@ -147,6 +153,8 @@
147153
<ol type="1">
148154
<li>[Optional] Create a docker network bridge so that your SAM container can communicate with your Solace Broker container<pre><code>docker network create -d bridge sam-network
149155
</code></pre>
156+
<pre><code>podman network create -d bridge sam-network
157+
</code></pre>
150158
<aside class="special"><p> skip this step if you are connecting to a cloud hosted broker instead</p>
151159
</aside>
152160
</li>
@@ -193,9 +201,13 @@
193201
</li>
194202
<li>[Optional] Run local solace broker (alternatively: use Solace Cloud)<pre><code>docker run -d -p 8080:8080 -p 55554:55555 -p 8008:8008 -p 8000:8000 -p 1883:1883 -p 5672:5672 -p 9000:9000 -p 2222:2222 --shm-size=2g --env username_admin_globalaccesslevel=admin --env username_admin_password=admin --name=solace solace/solace-pubsub-standard
195203
</code></pre>
204+
<pre><code>podman run -d -p 8080:8080 -p 55554:55555 -p 8008:8008 -p 8000:8000 -p 1883:1883 -p 5672:5672 -p 9000:9000 -p 2222:2222 --shm-size=2g --env username_admin_globalaccesslevel=admin --env username_admin_password=admin --name=solace solace/solace-pubsub-standard
205+
</code></pre>
196206
</li>
197207
<li>Add the solace broker container to the same SAM network<pre><code>docker network connect sam-network solace
198208
</code></pre>
209+
<pre><code>podman network connect sam-network solace
210+
</code></pre>
199211
</li>
200212
<li>Open <code>.env</code> file and make the following changes<ul>
201213
<li><code>SOLACE_BROKER_URL="ws://solace:8008"</code> - Update the broker URL to use the solace broker container</li>
@@ -232,6 +244,12 @@
232244
</li>
233245
<li>Run docker compose<pre><code>docker compose up
234246
</code></pre>
247+
<aside class="special"><p> If you are using <code>podman compose up</code> you will have to update your docker-compose.yaml file to make sure you are running podman as root. to do this add the following under your <code>image</code> name in the compose file</p>
248+
<pre><code>user: root
249+
</code></pre>
250+
</aside>
251+
<pre><code>podman compose up
252+
</code></pre>
235253
<aside class="special"><p> When the Solace Enterprise container runs, the entry point command for the container is <code>sam run</code>. What this command does is go through all the yaml configuration files under the configs dir and run them. At this point its only the orchestrator agent and web UI gateway.</p>
236254
</aside>
237255
<aside class="special"><p> The docker compose file makes sure port <code>8001</code> from the container is exposed to port <code>8001</code> on the host</p>

0 commit comments

Comments
 (0)