Setting up Docker Tooling in Eclipse

There is a Docker plugin for Eclipse, using which you can perform many of the mentioned Docker tasks from within Eclipse. To install the plugin in Eclipse, from the menu, select Help | Eclipse Marketplace.... Search for Eclipse Docker Tooling and install it:

Figure 12.8: Install Eclipse Docker Tooling from Eclipse Marketplace

Switch to the Docker Tooling perspective (either click on the Open Perspective toolbar button at the top-right of the editor window, or select from the Window | Perspective | Open Perspective | Other menu).

We will now add a Docker connection in Eclipse (make sure the Docker daemon is running):

Figure 12.9: Add Docker connection

Click on the Add Connection toolbar button in Docker Explorer and create a connection, as shown in the following screenshot:

Figure 12.10: Add connection dialog box

On Windows, you need to select TCP Connection and specify the URI where Docker daemon is listening. You can find the URI in Docker settings, in General tab. Make sure Expose daemon on... option is selected. Copy the TCP URI from this option and paste it in TCP Connection | URI textbox in the dialog box shown in Fig. 12.10.

Once the connection is added successfully, you will see lists of existing containers and images, if any, on your local machine.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.149.250.11