Skip to content

Commit 5a37f16

Browse files
committed
1 parent bd765db commit 5a37f16

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

chapters/docker-deployment-options.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ Start WildFly server as:
1919

2020
[source, text]
2121
----
22-
docker run --name wildfly -d -p 8080:8080 -v /Users/youruser/tmp/deployments:/opt/jboss/wildfly/standalone/deployments/:rw jboss/wildfly
22+
docker run --name wildfly -d -p 8080:8080 -v /Users/youruser/javaee7-simple-sample/target:/opt/jboss/wildfly/standalone/deployments/:rw jboss/wildfly
2323
----
2424

25-
Make sure to replace `/Users/youruser/tmp/deployments` to a directory on your local machine. Also, make sure this directory already exists. For example, on my machine this directory is `/Users/arungupta/tmp/deployments`.
25+
Make sure to replace `/Users/youruser/javaee7-simple-sample/target` to the target directory of your checked out project.
2626

2727
This command starts a container named "`wildfly`".
2828

readme.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2143,11 +2143,11 @@ <h3 id="_start_application_server">Start Application Server</h3>
21432143
</div>
21442144
<div class="listingblock">
21452145
<div class="content">
2146-
<pre class="highlight"><code class="language-text" data-lang="text">docker run --name wildfly -d -p 8080:8080 -v /Users/youruser/tmp/deployments:/opt/jboss/wildfly/standalone/deployments/:rw jboss/wildfly</code></pre>
2146+
<pre class="highlight"><code class="language-text" data-lang="text">docker run --name wildfly -d -p 8080:8080 -v /Users/youruser/javaee7-simple-sample/target:/opt/jboss/wildfly/standalone/deployments/:rw jboss/wildfly</code></pre>
21472147
</div>
21482148
</div>
21492149
<div class="paragraph">
2150-
<p>Make sure to replace <code>/Users/youruser/tmp/deployments</code> to a directory on your local machine. Also, make sure this directory already exists. For example, on my machine this directory is <code>/Users/arungupta/tmp/deployments</code>.</p>
2150+
<p>Make sure to replace <code>/Users/youruser/javaee7-simple-sample/target</code> to the target directory of your checked out project.</p>
21512151
</div>
21522152
<div class="paragraph">
21532153
<p>This command starts a container named &#8220;wildfly&#8221;.</p>

0 commit comments

Comments
 (0)