Skip to content

Commit fc07dfb

Browse files
kabicinkabicin
authored andcommitted
Update liberty-server-customization.md
1 parent 31ecf21 commit fc07dfb

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/liberty-server-customization.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN features.sh
1717

1818
RUN configure.sh
1919
```
20-
20+
Running this container will produce output similar to:
2121
```
2222
Launching liberty1 (Open Liberty 23.0.0.5/wlp-1.0.77.cl230520230514-1901) on Eclipse OpenJ9 VM, version 1.8.0_362-b09 (en_US)
2323
[AUDIT ] CWWKE0001I: The server liberty1 has been launched.
@@ -57,7 +57,7 @@ RUN configure.sh
5757

5858
### Renaming a Liberty server using Liberty InstantOn
5959

60-
To rename a Liberty server using Liberty InstantOn, include the `SERVER_NAME` variable when building the image.
60+
To rename a Liberty server using Liberty InstantOn, include the `SERVER_NAME` environment variable before configuring the image.
6161

6262
```Dockerfile
6363
FROM icr.io/appcafe/open-liberty:beta-instanton
@@ -68,6 +68,14 @@ COPY --chown=1001:0 src/main/liberty/config/ /config/
6868
COPY --chown=1001:0 target/*.war /config/apps/
6969

7070
RUN configure.sh
71+
RUN checkpoint.sh applications
72+
```
73+
Running this container will produce output similar to:
74+
```
75+
[AUDIT ] Launching liberty-instanton (Open Liberty 23.0.0.6-beta/wlp-1.0.77.cl230520230514-1901) on Eclipse OpenJ9 VM, version 17.0.7+7 (en_US)
76+
[AUDIT ] CWWKC0452I: The Liberty server process resumed operation from a checkpoint in 0.126 seconds.
77+
[AUDIT ] CWWKF0012I: The server installed the following features: [checkpoint-1.0].
78+
[AUDIT ] CWWKF0011I: The liberty-instanton server is ready to run a smarter planet. The liberty-instanton server started in 0.130 seconds.
7179
```
7280

7381
### Notes

0 commit comments

Comments
 (0)