Chapter 5. Using Container Development Kit with Docker Tooling in Eclipse
You can access the Docker service runnning on the CDK Red Hat Enterprise Linux VM from an Eclipse IDE running on your local system.
Install Eclipse on the system where you are running Container Development Kit and start Eclipse. For example, to install and start Eclipse on Red Hat Enterprise Linux, do the following:
# yum install devtoolset-4-eclipse devtoolset-4-eclipse-linuxtools \ devtoolset-4-eclipse-linuxtools-docker.noarch
Enable the Eclipse software collection from Red Hat Developer Toolset:
$ cd ~/cdk/components/rhel/rhel-ose/ $ eval "$(vagrant service-manager env docker)" $ scl enable devtoolset-4 'eclipse' &
-
Select a workspace. Choose a directory to store our Eclipse work on your local desktop (such as
/home/joe/workspace
). The Eclipse Platform screen appears. -
Open the Docker perspective. Select Window
Perspective Open Perspective Other Docker Tooling OK. Then select the Workbench icon. The Docker Tooling - Eclipse Platform screen should appear as shown in Figure 5-2
You can now begin using the Eclipse Docker Tooling screen to work with Docker-formatted container images from inside the Container Development Kit virtual machine.