You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -150,8 +150,8 @@ endif::[]
150
150
151
151
// static guide instructions:
152
152
ifndef::cloud-hosted[]
153
-
After you are finished checking out the microservices, stop the Open Liberty servers by pressing `CTRL+C`
154
-
in the command-line sessions where you ran the servers. Alternatively, you can run the `liberty:stop` goal in another command-line session:
153
+
After you are finished checking out the microservices, stop the Open Liberty instances by pressing `CTRL+C`
154
+
in the command-line sessions where you ran the `system` and `inventory` services. Alternatively, you can run the `liberty:stop` goal in another command-line session:
155
155
[role='command']
156
156
```
157
157
mvn -pl system liberty:stop
@@ -161,9 +161,8 @@ endif::[]
161
161
162
162
// cloud-hosted guide instructions:
163
163
ifdef::cloud-hosted[]
164
-
After you are finished checking out the microservices, stop the Open Liberty servers by pressing **CTRL+C**
165
-
in the command-line sessions where you ran the servers. Alternatively, you can run the **liberty:stop** goal in another command-line session from the
166
-
**start** directory:
164
+
After you are finished checking out the microservices, stop the Open Liberty instances by pressing **CTRL+C**
165
+
in the command-line sessions where you ran the **system** and **inventory** services. Alternatively, you can run the **liberty:stop** goal in another command-line session from the **start** directory:
167
166
```
168
167
cd /home/project/guide-containerize/start
169
168
mvn -pl system liberty:stop
@@ -226,7 +225,7 @@ Furthermore, you can label your container images with the [hotspot=label file=0]
226
225
227
226
The [hotspot=copy-config hotspot=copy-war file=0]`COPY` instructions are structured as `COPY` [hotspot=config-userID hotspot=war-userID file=0]`[--chown=<user>:<group>]` [hotspot=inventory-config hotspot=inventory-war file=0]`<source>` [hotspot=config hotspot=config-apps file=0]`<destination>`.
228
227
They copy local files into the specified destination within your container image.
229
-
In this case, the `inventory` server configuration files that are located at `src/main/liberty/config` are copied to the [hotspot=config file=0]`/config/` destination directory.
228
+
In this case, the `inventory` Liberty configuration files that are located at `src/main/liberty/config` are copied to the [hotspot=config file=0]`/config/` destination directory.
230
229
The `inventory` application WAR file [hotspot=inventory-war file=0]`inventory.war`, which was created from running `mvn package`, is copied to the [hotspot=config-apps file=0]`/config/apps` destination directory.
231
230
232
231
The [hotspot=copy-config hotspot=copy-war file=0]`COPY` instructions use the [hotspot=config-userID hotspot=war-userID file=0]`1001` user ID and [hotspot=config-userID hotspot=war-userID file=0]`0` group because all official Open Liberty base images,
As mentioned previously, the parent image that is used in each `Containerfile` contains the `full` tag, which includes all of the Liberty features. This parent image with the `full` tag is recommended for development, but while deploying to production it is recommended to use a parent image with the `kernel-slim` tag. The `kernel-slim` tag provides a bare minimum server with the ability to add the features required by the application.
498
+
As mentioned previously, the parent image that is used in each `Containerfile` contains the `full` tag, which includes all of the Liberty features. This parent image with the `full` tag is recommended for development, but while deploying to production it is recommended to use a parent image with the `kernel-slim` tag. The `kernel-slim` tag provides a bare minimum Liberty runtime with the ability to add the features required by the application.
0 commit comments