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.

  1. 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
  2. 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' &
  3. 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.
  4. 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

Eclipse Docker Tooling Screen

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.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.