Skip to content

Commit

Permalink
Second attempt to fix hardcoded version #488
Browse files Browse the repository at this point in the history
  • Loading branch information
rymsha committed Aug 31, 2023
1 parent 6861a5a commit f30bfdc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/deployment/docker.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
= Docker image
include::../.variables.adoc[]
:toc: right

This section describes the official Enonic XP docker image as well how to configure and run it.
Expand All @@ -11,9 +12,9 @@ If you just want to try out the image, with no data persistence, you can run thi

NOTE: Running this command requires you to have docker installed.

[source,bash]
[source,bash,subs="attributes"]
----
docker run -it --rm -p 8080:8080 enonic/xp:7.12.2-ubuntu
docker run -it --rm -p 8080:8080 enonic/xp:{version}-ubuntu
----

== Image description
Expand All @@ -31,7 +32,7 @@ The goals of this docker image is to:

=== Base image

Every time the Enonic XP image is built it will be based off the latest `enonic/graalvm` docker image. This ensures the latest updates to the JVM and OS.
Every time the Enonic XP image is built it will be based off the latest https://hub.docker.com/r/enonic/graalvm[enonic/graalvm] docker image. This ensures the latest updates to the JVM and OS.

=== Enforced best practices

Expand Down Expand Up @@ -140,7 +141,7 @@ In this subection we list some `XP_OPTS` parameters that are useful when running

===== Memory

Like described in the <<java-heap-memory>> section, you should set the java heap memory limits. If your machine has 4GB of memory and you want to allocate 75% of that to heap memory, do that by adding to `XP_OPTS`.
Like described in the <<java-heap-memory>> section, you should set the java heap memory limits. If your machine has 4GB of memory, and you want to allocate 75% of that to heap memory, do that by adding to `XP_OPTS`.

[source,bash]
----
Expand Down

0 comments on commit f30bfdc

Please sign in to comment.