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: chapters/docker-setup.adoc
+15-23Lines changed: 15 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,42 +27,38 @@ Complete set of operating systems are listed at http://docs.docker.com/engine/in
27
27
28
28
IMPORTANT: For Mac and Windows, these commands need to be issued from the Docker shell or command prompt where `eval $(docker-machine env default)` command was issued.
29
29
30
-
[source, text]
31
-
----
30
+
```console
32
31
docker pull jboss/wildfly
33
32
docker pull arungupta/wildfly-management
34
33
docker pull arungupta/javaee7-hol
35
34
docker pull mysql
36
35
docker pull swarm
37
36
docker pull arungupta/wildfly-mysql-javaee7
38
-
----
37
+
```
39
38
40
39
#### Create Docker Swarm Cluster
41
40
42
41
Create Docker Swarm cluster as:
43
42
44
-
[source, text]
45
-
----
43
+
```console
46
44
docker run swarm create
47
-
----
45
+
```
48
46
49
47
This will generate a token. Use this token to create a Swarm Master.
Detailed explanation for this is available in <<Docker_Swarm>>.
57
54
58
55
#### Create Docker Host Mapping
59
56
60
57
. To make it easier to start/stop the containers, an entry is added into the host mapping table of your operating system. Find out the IP address of your machine:
61
58
+
62
-
[source, text]
63
-
----
59
+
```console
64
60
docker-machine ip default
65
-
----
61
+
```
66
62
+
67
63
This will provide the IP address associated with the Docker Machine created earlier.
68
64
+
@@ -98,10 +94,9 @@ To install JBoss Developer Studio stand-alone, complete the following steps:
<p>To make it easier to start/stop the containers, an entry is added into the host mapping table of your operating system. Find out the IP address of your machine:</p>
728
728
<divclass="listingblock">
729
729
<divclass="content">
730
-
<preclass="highlight"><codeclass="language-text" data-lang="text">docker-machine ip default</code></pre>
730
+
<preclass="highlight"><codeclass="language-console" data-lang="console">docker-machine ip default</code></pre>
731
731
</div>
732
732
</div>
733
733
<divclass="paragraph">
@@ -800,7 +800,7 @@ <h5 id="_jboss_developer_studio_9_0">JBoss Developer Studio 9.0</h5>
<p>Download Kubernetes (1.0.1) from <ahref="https://github.com/kubernetes/kubernetes/releases/download/v1.0.1/kubernetes.tar.gz" class="bare">https://github.com/kubernetes/kubernetes/releases/download/v1.0.1/kubernetes.tar.gz</a>.</p>
826
+
<p>If you’ve not installed Docker Toolbox, then you need to additionally download Virtual Box 5.0.8 from <ahref="https://www.virtualbox.org/wiki/Downloads" class="bare">https://www.virtualbox.org/wiki/Downloads</a>.</p>
827
+
</li>
828
+
<li>
829
+
<p>Download Kubernetes (1.0.7) from <ahref="https://github.com/kubernetes/kubernetes/releases/download/v1.0.7/kubernetes.tar.gz" class="bare">https://github.com/kubernetes/kubernetes/releases/download/v1.0.7/kubernetes.tar.gz</a>.</p>
Kubernetes 1.0.1 is the only version verified to work with Virtual Box. More details at: <ahref="https://github.com/kubernetes/kubernetes/issues/12614" class="bare">https://github.com/kubernetes/kubernetes/issues/12614</a>
0 commit comments