Skip to content

Commit 4f3c21f

Browse files
arun-guptaMano Marks
authored and
Mano Marks
committed
refreshing chapters with the latest version of IDE (docker#167)
1 parent fdf993b commit 4f3c21f

16 files changed

+26
-16
lines changed

developer-tools/java/chapters/ch01-setup.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ NOTE: For Linux, `docker-compose` and `docker` commands need `sudo` access. So p
6969
=== Other Software
7070

7171
. Download Java IDE based upon your choice and install.
72-
.. https://netbeans.org/downloads/[NetBeans 8.2] (`"Java EE"` version)
72+
.. https://netbeans.org/downloads/[NetBeans 8.2] (`"Java SE"` version)
7373
.. https://www.jetbrains.com/idea/download/[IntelliJ IDEA Community or Ultimate]
7474
.. http://www.eclipse.org/downloads/eclipse-packages/[Eclipse IDE for Java EE Developers]
7575
. Download https://maven.apache.org/download.cgi[Maven] and install.

developer-tools/java/chapters/ch07-eclipse.adoc

+20-14
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,17 @@ This chapter will show you basic Docker tooling with Eclipse:
99
- Run/Start/Stop/Kill Docker containers
1010
- Customize views
1111

12-
Watch a quick video explaining the key steps:
13-
14-
video::XmhEZiS26os[youtube]
12+
Watch a quick video explaining the key steps in https://www.youtube.com/watch?v=XmhEZiS26os.
1513

1614
=== Install Docker Tooling in Eclipse
1715

18-
Download http://eclipse.org/[Eclipse IDE for Java EE Developers Mars 2] and install.
16+
Download http://www.eclipse.org/downloads/eclipse-packages/[Eclipse IDE for Java EE Developers] and install.
1917

2018
Go to "`Help`" menu, "`Install New Software...`".
2119

22-
Select Eclipse Mars update site, search for Docker, select "`Docker Tooling`".
20+
Select Eclipse update site for the release, search for Docker, select "`Docker Tooling`".
2321

24-
image::docker-eclipse-mars-update-site-selection.png[]
22+
image::docker-eclipse-update-site-selection.png[]
2523

2624
Click on "`Next>`", "`Next>`", accept the license agreement, click on "`Finish`" to start the installation.
2725

@@ -31,31 +29,39 @@ Restart Eclipse for the installation to complete.
3129

3230
Go to "`Window`", "`Perspective`", "`Open Perspective`", "`Other...`", "`Docker Tooling`".
3331

34-
image::docker-eclipse-mars-docker-perspective.png[]
32+
image::docker-eclipse-docker-perspective.png[]
3533

3634
Click on "`OK`" to see the perspective.
3735

38-
image::docker-eclipse-mars-docker-perspective-default-look.png[]
36+
image::docker-eclipse-docker-perspective-default-look.png[]
3937

4038
This has three views:
4139

4240
- *Docker Explorer*: a tree view listing all connected Docker instances, with image and containers.
4341
- *Docker Images*: a table view listing containers for selected Docker connection.
4442
- *Docker Containers*: a table view listing containers for selected Docker connection
4543

46-
Click on the text in Docker Explorer to create a new connection. If you are on Mac, you are likely using Docker Toolbox (or Docker Machine) to setup Docker Host.
44+
Click on the text in Docker Explorer to create a new connection. If you are on Mac/Windows, you are likely using Docker for Mac/Windows or Docker Toolbox to setup Docker Host. Eclipse allows to configure Docker Engine using both Docker for Mac/Windows and Docker Toolbox.
45+
46+
If you are using Docker for Mac/Windows, then the default values are shown:
47+
48+
image::docker-eclipse-docker-connection.png[]
49+
50+
Click on "`Test Connection`" to test the connection.
51+
52+
image::docker-eclipse-docker-connection-test.png[]
4753

48-
Enter the values as shown:
54+
If you are using Toolbox, enter the values as shown:
4955

50-
image::docker-eclipse-mars-docker-connection.png[]
56+
image::docker-eclipse-docker-connection-toolbox.png[]
5157

5258
The exact value of TCP Connection can be found using `docker-machine ls` command. The path for authentication is the directory name where certificates for your Docker Machine, `couchbase` in this case, are stored.
5359

54-
Click on "`Finish`" to complete the configuration.
60+
Click on "`Test Connection`" to make sure the connection is successfully configured.
5561

56-
Click on Test Connection to make sure the connection is successfully configured.
62+
image::docker-eclipse-docker-connection-test-toolbox.png[]
5763

58-
image::docker-eclipse-mars-docker-connection-test.png[]
64+
In either case, the configuration can be completed once the connection is tested. Click on "`Finish`" to complete the configuration.
5965

6066
Docker Explorer is updated to show the connection.
6167

developer-tools/java/chapters/ch07-intellij.adoc

+3-1
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ This chapter will show you basic Docker tooling with IntelliJ IDEA:
99
- Run, stop, delete a Container
1010
- Build an Image
1111

12+
NOTE: IntelliJ only supports configuring Docker Engine running using Docker Toolbox. This means that if you are running Docker for Mac or Docker for Windows then IntelliJ cannot be used.
13+
1214
=== Install Docker Plugin in IDEA
1315

14-
Go to `"Preferences"`, "`Plugins`", "`Install JetBrains plugin...`", search on "`docker`" and click on "`Install`"
16+
Go to "`Preferences`", "`Plugins`", "`Install JetBrains plugin...`", search on "`docker`" and click on "`Install`"
1517

1618
image::docker-intellij-plugin-install.png[]
1719

developer-tools/java/chapters/ch07-netbeans.adoc

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ This chapter will show you basic Docker tooling with NetBeans:
88
- Pull/Build Docker images
99
- Run/Start/Stop Docker containers
1010

11+
NOTE: NetBeans only supports configuring Docker Engine running using Docker Toolbox. This means that if you are running Docker for Mac or Docker for Windows then NetBeans cannot be used.
12+
1113
=== Configure Docker Host
1214

1315
In "`Services`" window, right-click on "`Docker`", click on "`Add Docker...`"
Loading
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)