Getting Started with Container and Cloud-based Development

Red Hat CodeReady Studio 12.18

Starting Development of Container and Cloud-based Applications Using Red Hat CodeReady Studio

Eva-Lotte Gebhardt

Levi Valeeva

Supriya Takkhi

Red Hat Developer Group Documentation Team

Abstract

This compilation of topics contains information on how to start developing containerized applications and applications for cloud deployment.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. We are beginning with these four terms: master, slave, blacklist, and whitelist. Because of the enormity of this endeavor, these changes will be implemented gradually over several upcoming releases. For more details, see our CTO Chris Wright’s message.

Chapter 1. Developing using containers and the cloud in CodeReady Studio

1.1. Using Red Hat CodeReady Containers tools in CodeReady Studio

Red Hat CodeReady Containers (CRC) brings a minimal OpenShift 4 cluster to your local computer. This cluster provides a minimal environment for development and testing purposes. It is mainly targeted at running on developers' desktops. For other use cases, such as headless, multi-developer or team-based setups, use of the full-fledged OpenShift installer is recommended.

For a more in-depth introduction to OpenShift, see OpenShift documentation.

1.1.1. Downloading and installing Red Hat CodeReady Containers

The following section describes how to set up CodeReady Containers in CodeReady Studio.

Prerequisites

  1. Download the latest release of CodeReady Containers and the pull secret.
  2. Extract the CRC file.

    For more information on how to install and set up CRC, see the Installation chapter of the Getting started with CodeReady Containers Guide.

Procedure

  1. Start CodeReady Studio.
  2. Click WindowShow ViewOther.

    The Show View window appears.

    crs opening servers view
  3. Enter Server in the search field.
  4. Select Servers.
  5. Click Open.

    The Servers view appears.

    crs servers view empty
  6. Right-click any area in the Servers view.

    crs srver view creating new server
  7. Click NewServer.

    The Define a New Server window appears.

    crs creating crc server
  8. Select CodeReady Containers 1.0+.
  9. Click Next.

    The CodeReady Containers window appears.

    crs crc server adapter creation
  10. Click Browse to locate the CRC binary.
  11. Click Browse to locate the CRC Pull Secret File.
  12. Click Finish.

Your newly added CodeReady Containers 1.0+ server adapter is now listed in the Servers view.

crs crc server adapter created
Note

In case you did not set up CRC prior to starting the server adapter, you will see a warning: CRC has not been properly initialized!

crs crc warning

Follow the on-screen instructions to initialize CRC.

1.1.2. Using the OpenShift Container Platform tools

The following section describes how to use OpenShift Containers in CodeReady Studio.

Prerequisites

Procedure

  1. Start CodeReady Studio.
  2. Start the CRC server adapter.

    crs starting crc server adapter
  3. Click WindowShow ViewOther.

    The Show View window appears.

    crs os explorer view
  4. Enter OpenShift in the search field.
  5. Select OpenShift Explorer.
  6. Click Open.

    The OpenShift Explorer view appears.

  7. Press Ctrl+N.

    The Select a wizard window appears.

    crs openshift app creation
  8. Enter OpenShift in the search field.
  9. Select OpenShift Application.
  10. Click Next.

    The Sign in to OpenShift window appears.

    crs crc sing in to os
  11. Provide your credentials and click Next.

    The Create OpenShift Project window appears.

  12. Name your project.
  13. Click Finish.

    The Select template window appears.

    crs crc os selecting template
  14. Select a template.
  15. Click Next.

    The Build Configuration window appears.

    crs buid config example
  16. Ensure that the build configurations are correct.
  17. Click Finish.

Your newly created OpenShift application project is now listed in the OpenShift Explorer view.

crs os project created

Additional resources

1.2. Using Red Hat Container Development Kit tools in CodeReady Studio

Red Hat Container Development Kit (CDK) is a pre-built container development environment based on Red Hat Enterprise Linux (RHEL). CDK helps you get started with developing container-based applications quickly.

1.2.1. Installing Container Development Kit

The following section describes how to install CDK from within CodeReady Studio.

Prerequisites

  • Ensure that the Hypervisor is installed and configured on your system:

    • VirtualBox, Linux KVM/libvirt (Linux)
    • xhyve (macOS)
    • Hyper-V (Windows)
  • Ensure that hardware virtualization is enabled on your system.

    For more information, see Setting Up the Virtualization Environment.

  • Ensure that you have a Red Hat Developer account.

    To create a new account, visit developers.redhat.com.

For more information on CDK, see the Red Hat Container Development Kit Getting Started Guide.

Procedure

  1. Start CodeReady Studio.
  2. Click WindowShow ViewOther.

    The Show View window appears.

    crs opening servers view
  3. Enter Server in the search field.
  4. Select Servers.
  5. Click Open.

    The Servers view appears.

    crs servers view empty
  6. Right-click any area in the Servers view.

    crs srver view creating new server
  7. Click NewServer.

    The Define a New Server window appears.

    crs creating cdk server
  8. Select Red Hat Container Development Kit 3.2+.
  9. Click Next.

    The Red Hat Container Development Environment window appears.

    crs creating cdk server2
  10. Click Download and install runtime.

    The Download Runtimes window appears.

    crs cdk runtimes
  11. Select a Red Hat CDK version.
  12. Click Next.
  13. Ensure that your sign-on credentials for access.redhat.com are correct.
  14. Click Next.
  15. Review and accept the license agreement and click Next.
  16. Select the installation folder and click Finish.

    Note that the process of downloading and installing the runtime might take some time to complete.

  17. Click Finish.

    Your newly created Container Development Environment 3.2+ server is now listed in the Servers view.

    crs cdk server in view
  18. Right-click CDK server adapterStart.

    crs startink cdk server adapter
    Note

    In case you did not set up CDK prior to starting the server adapter, you will see a warning: CDK has not been properly initialized!

    crs cdk warning

    Follow the on-screen instructions to initialize CDK.

1.2.2. Using Docker tools

1.2.2.1. Creating a Dockerfile

Prerequisites

  • The CDK server adapter is set up and configured.

    For more information, see Installing CDK.

Procedure

  1. Start CodeReady Studio.
  2. Start the CDK server adapter.

    crs startink cdk server adapter
  3. Press Ctrl+N.

    The Select a wizard window appears.

    crs java project wizard
  4. Enter Java Project in the search field.
  5. Select Java Project.
  6. Click Next.

    The New Java Project window appears.

    crs java project creation
  7. Name your project.
  8. Select the location for your project.
  9. Click Finish.

    Your newly created Java project is now listed in the CodeReady Studio view.

  10. Right-click your Java projectNewFile.

    crs java project new file

    The Create New File window appears.

    crs creating docker file
  11. Select the parent folder.
  12. Name your file.
  13. Click Finish.

    Your newly created file is now displayed in the CodeReady Studio editor.

  14. Paste the following content into your newly created file:

        # Use latest jboss/base-jdk:8 image as the base
    FROM jboss/base-jdk:8
    
    # Set the WILDFLY_VERSION env variable
    ENV WILDFLY_VERSION 10.1.0.Final
    ENV WILDFLY_SHA1 9ee3c0255e2e6007d502223916cefad2a1a5e333
    ENV JBOSS_HOME /opt/jboss/wildfly
    
    USER root
    
    # Add the WildFly distribution to /opt, and make wildfly the owner of the extracted tar content
    # Make sure the distribution is available from a well-known place
    RUN cd $HOME \
        && curl -O https://download.jboss.org/wildfly/$WILDFLY_VERSION/wildfly-$WILDFLY_VERSION.tar.gz \
        && sha1sum wildfly-$WILDFLY_VERSION.tar.gz | grep $WILDFLY_SHA1 \
        && tar xf wildfly-$WILDFLY_VERSION.tar.gz \
        && mv $HOME/wildfly-$WILDFLY_VERSION $JBOSS_HOME \
        && rm wildfly-$WILDFLY_VERSION.tar.gz \
        && chown -R jboss:0 ${JBOSS_HOME} \
        && chmod -R g+rw ${JBOSS_HOME}
    
        # Ensure signals are forwarded to the JVM process correctly for graceful shutdown
        ENV LAUNCH_JBOSS_IN_BACKGROUND true
    
        USER jboss
    
        # Expose the ports we're interested in
        EXPOSE 8080
    
        # Set the default command to run on boot
        # This will boot WildFly in the standalone mode and bind to all interface
        CMD ["/opt/jboss/wildfly/bin/standalone.sh", "-b", "0.0.0.0"]
  15. Press Ctrl+S to save the changes.

Your Dockerfile has been created.

Additional resources

1.2.2.2. Building a Docker image Using Red Hat Container Development Kit

Prerequisites

Procedure

  1. Start CodeReady Studio.
  2. Start the CDK server adapter.

    crs startink cdk server adapter
  3. Expand your Java project.
  4. Right-click DockerfileRun asDocker Image Build.

    crs run as docker image build

    The Docker Image Build Configuration window appears.

    crs creating docker image
  5. Select your Container Development Environment server adapter as your connection.
  6. Name your image.
  7. Click OK.

The Console view appears displaying the docker image building process.

1.2.2.3. Additional resources

1.2.3. Additional resources

Chapter 2. Developing for the Cloud with OpenShift in CodeReady Studio

2.1. Creating an OpenShift Container Platform application in CodeReady Studio

Using the OpenShift Container Platform tooling you can create, import, and modify OpenShift Container Platform applications.

2.1.1. Creating a new OpenShift Container Platform connection

You must create an OpenShift connection in the OpenShift Explorer view in CodeReady Studio to use the OpenShift tooling. An OpenShift connection connects CodeReady Studio to an OpenShift instance (based on CDK, OpenShift Online, Kubernetes, minishift). The connection is listed in the OpenShift Explorer view. You can have more than one OpenShift connection configured in CodeReady Studio.

Procedure

  1. Start CodeReady Studio.
  2. Click WindowShow ViewOther.

    The Show View window appears.

    crs os explorer view
  3. Enter OpenShift in the search field.
  4. Select OpenShift Explorer.
  5. Click Open.

    The OpenShift Explorer view appears.

  6. Right-click any area in the OpenShift Explorer.

    crs os explorer new connection
  7. Click NewConnection.

    The Sign in to OpenShift window appears.

    crs os new connection sign in
  8. Paste the URL of your OpenShift server into the Server field.
  9. Authenticate with a token or login credentials.

    Note

    Alternatively, you can copy the Login Command from the OpenShift Container Platform web UI.

    To get login credentials, click the drop-down menu in the top right cornerCopy Login Command.

    os3 clicking copy login command
  10. Click Finish.

Your newly added connection is now listed in the OpenShift Explorer view.

2.1.2. Creating a new OpenShift Container Platform project

You must create an OpenShift Container Platform project, which essentially is a namespace with additional annotations, to centrally manage the access to resources for regular users of your OpenShift Container Platform.

Prerequisites

Procedure

  1. Start CodeReady Studio.
  2. Click WindowShow ViewOther.

    The Show View window appears.

    crs os explorer view
  3. Enter OpenShift in the search field.
  4. Select OpenShift Explorer.
  5. Click Open.

    The OpenShift Explorer view appears.

  6. Right-click the OpenShift Container Platform connectionNewProject.

    crs os new project

    The New OpenShift Project window appears.

  7. Name your project.
  8. Click Finish.

Your newly created OpenShift project is now listed in the OpenShift Explorer view.

crs os project created

2.1.3. Creating a new OpenShift Container Platform application

You can use the OpenShift Application wizard in CodeReady Studio to create OpenShift Container Platform applications from default or custom templates.

Prerequisites

Procedure

  1. Start CodeReady Studio.
  2. Click WindowShow ViewOther.

    The Show View window appears.

    crs os explorer view
  3. Enter OpenShift in the search field.
  4. Select OpenShift Explorer.
  5. Click Open.

    The OpenShift Explorer view appears.

  6. Right-click the OpenShift Container Platform connectionNewApplication.

    crs os new app

    The Select template window appears.

    crs crc os selecting template
  7. Select a template.
  8. Click Next.

    The Template Parameters window appears.

  9. Click Next.

    The Resource Labels window appears.

    crs os resource label
  10. Click Add to add labels.
  11. Click Finish.

    The Create Application Summary window appears.

    crs os app summary
  12. Click OK.

    The Import OpenShift application window appears.

    crs git clone location
  13. Select your Git Clone Location.
  14. Click Finish.

Your newly created OpenShift Container Platform application is now listed in the OpenShift Explorer view.

Additional Resources

2.1.4. Importing an existing OpenShift Container Platform application into CodeReady Studio

The OpenShift Explorer view in CodeReady Studio lists applications associated with your OpenShift Container Platform accounts. You can import the source code for these applications individually into CodeReady Studio using the Import OpenShift Application wizard. After the application is imported, you can easily modify the application source code, build the application, and view it in a web browser.

Prerequisites

  • The application that you are importing into CodeReady Studio has its source specified in the build config file.
  • An OpenShift Container Platform connection.

    For more information on how to create an OpenShift Container Platform connection, see Creating a new OpenShift Container Platform connection.

Procedure

  1. Start CodeReady Studio.
  2. Click WindowShow ViewOther.

    The Show View window appears.

    crs os explorer view
  3. Enter OpenShift in the search field.
  4. Select OpenShift Explorer.
  5. Click Open.

    The OpenShift Explorer view appears.

  6. Right-click your OpenShift Container Platform connectionImport OpenShift Application.

    crs import os app

    The Select Build Config window appears.

    crs select build config
  7. Select the application you want to import.
  8. Click Next.

    The Import OpenShift Application window appears.

    crs git clone location
  9. Select your Git Clone Location.
  10. Click Finish.

Your newly imported OpenShift Container Platform application is now listed in the OpenShift Explorer view.

2.1.5. Deploying an application using the server adapter

The server adapter enables you to publish the changes that you made in your workspace project to the running OpenShift application on the OpenShift instance. It enables incremental deployment of applications directly into the deployed pods on OpenShift. You can use the server adapter to push changes in your application directly to the running OpenShift application without committing the source code to the Git repository.

Prerequisites

Procedure

  1. Start CodeReady Studio.
  2. Click WindowShow ViewOther.

    The Show View window appears.

    crs os explorer view
  3. Enter OpenShift in the search field.
  4. Select OpenShift Explorer.
  5. Click Open.

    The OpenShift Explorer view appears.

  6. Expand the OpenShift Container Platform connection.
  7. Right-click your applicationServer Adapter.

    crs os app server adapter

    The Server Settings window appears.

    crs os server settings
  8. Click Finish.

The Servers view appears, starting your server adapter.

To open your application in a browser, right-click applicationShow InWeb Browser.

crs os app show in browser

The CodeReady Studio built-in web browser opens, displaying your application.

2.1.6. Deleting an OpenShift Container Platform project

You may choose to delete a project from the workspace for a fresh start in project development or after you have concluded development in a project. When you delete a project, all resources associated with the project are deleted as well.

Procedure

  1. Start CodeReady Studio.
  2. Click WindowShow ViewOther.

    The Show View window appears.

    crs os explorer view
  3. Enter OpenShift in the search field.
  4. Select OpenShift Explorer.
  5. Click Open.

    The OpenShift Explorer view appears.

  6. Expand the OpenShift Container Platform connection.
  7. Right-click your projectDelete.

    crs os project delete

    The Delete OpenShift Resource window appears.

  8. Click OK.

Your project is now deleted.

2.2. Setting up and remotely monitoring an OpenShift Container Platform application in CodeReady Studio

CodeReady Studio allows users to set up a connection to a remote instance of OpenShift Container Platform and use application and build logs to troubleshoot and monitor running applications.

2.2.1. Setting up OpenShift Client Binaries

Prerequisites

  • Before setting up port forwarding or streaming application and build logs, it is mandatory to set up OpenShift Client Binaries.

Procedure

  1. Start CodeReady Studio.
  2. Click WindowPreferences.

    The Preferences window appears.

    crs jboss os
  3. Enter OpenShift in the search field.
  4. Select OpenShift.
  5. Click Browse to locate the oc executable.
  6. Click Apply and Close.

OpenShift Client Binaries are now set up.

2.2.2. Setting up Port Forwarding

Using the Application Port Forwarding window, you can connect local ports to their remote counterparts to access data or debug your application.

Port forwarding automatically stops due to any of the following reasons:

  • The OpenShift Container Platform connection terminates
  • CodeReady Studio shuts down
  • The workspace is changed

Port forwarding must be enabled each time to connect to OpenShift Container Platform from CodeReady Studio.

Procedure

  1. Start CodeReady Studio.
  2. Click WindowShow ViewOther.

    The Show View window appears.

    crs os explorer view
  3. Enter OpenShift in the search field.
  4. Select OpenShift Explorer.
  5. Click Open.

    The OpenShift Explorer view appears.

  6. Expand the OpenShift Container Platform connection.
  7. Right-click your applicationPort Forwarding.

    crs port forwarding

    The Port Forwarding window appears.

    crs start port forwarding
  8. Check the Find free local ports for remote ports box.
  9. Click Start All.
  10. Click OK.

The Console view appears showing the port-forwarding starting process.

2.2.3. Streaming Pod Logs

Pod logs are general logs for an application running on a remote OpenShift Container Platform instance. The streaming pod logs feature in CodeReady Studio is used to monitor applications and use the previous pod log to troubleshoot if the application fails or returns errors.

Procedure

  1. Start CodeReady Studio.
  2. Click WindowShow ViewOther.

    The Show View window appears.

    crs os explorer view
  3. Enter OpenShift in the search field.
  4. Select OpenShift Explorer.
  5. Click Open.

    The OpenShift Explorer view appears.

  6. Expand the OpenShift Container Platform connection.
  7. Right-click the applicationPod Log.

    crs pod log

The Console view appears displaying the Pod Log.

2.2.4. Streaming Build Logs

Build logs are logs that document changes to applications running on a remote OpenShift Container Platform instance. The streaming build logs feature in CodeReady Studio is used to view the progress of the application build process and to debug the application.

Procedure

  1. Start CodeReady Studio.
  2. Click WindowShow ViewOther.

    The Show View window appears.

    crs os explorer view
  3. Enter OpenShift in the search field.
  4. Select OpenShift Explorer.
  5. Click Open.

    The OpenShift Explorer view appears.

  6. Expand the OpenShift Container Platform connection.
  7. Right-click the applicationBuild Log.

    crs build log

The Console view appears displaying the Build Log.

2.3. Additional resources

:parent-context-of-developing-with-docker-in-devstudiogetting-started-with-container-and-cloud-based-development

Chapter 3. Developing with Docker in CodeReady Studio

3.1. Managing Docker connections

3.1.1. Setting up a Docker account

The following section describes how to set up a Docker account in CodeReady Studio.

Prerequisites

Procedure

  1. Start CodeReady Studio.
  2. Click WindowPreferences.

    The Preferences window appears.

    crs registry accounts
  3. Enter Registry Accounts in the search field.
  4. Select Registry Accounts.
  5. Click Add.

    The New Registry Account window appears.

    crs docker new account registry
  6. Enter the Server Address.
  7. Enter your Doker ID as the Username.
  8. Enter the email associated with your Docker account.
  9. Enter your password.
  10. Click OK.
  11. Click Apply and Close.

Your Docker account has been set up.

3.1.2. Testing an existing Docker connection

Prerequisites

  • A set up Docker account in CodeReady Studio.

    For more information on how to set up a Docker account in CodeReady Studio, see Setting up a Docker account.

Procedure

  1. Start CodeReady Studio.
  2. Click WindowShow ViewOther.

    The Show View window appears.

    crs opening docker explorer
  3. Enter Docker in the search field.
  4. Select Docker Explorer.
  5. Click Open.

    The Docker Explorer view appears.

    crs docker explorer
  6. Right-click Docker socketEdit.

    crs docker socket edit

    The Edit Docker Connection window appears.

    crs docker testing connection
  7. Click Test Connection.

    If the connection is configured correctly, a window stating Ping succeeded! appears.

  8. Click OK.
  9. Click Finish.

3.1.3. Editing a Docker connection

Prerequisites

  • A set up Docker account in CodeReady Studio.

    For more information on how to set up a Docker account in CodeReady Studio, see Setting up a Docker account.

Procedure

  1. Start CodeReady Studio.
  2. Click WindowShow ViewOther.

    The Show View window appears.

    crs opening docker explorer
  3. Enter Docker in the search field.
  4. Select Docker Explorer.
  5. Click Open.

    The Docker Explorer view appears.

    crs docker explorer
  6. Right-click Docker socketEdit.

    crs docker socket edit

    The Edit Docker Connection window appears.

    crs docker testing connection
  7. Click Browse in the Unix socket Location field to locate a new socket or check the TCP Connection option and add the URI.
  8. Click Finish.

3.2. Managing Docker images

3.2.1. Pulling Docker images

Procedure

  1. Start CodeReady Studio.
  2. Click WindowShow ViewOther.

    The Show View window appears.

    crs opening docker explorer
  3. Enter Docker in the search field.
  4. Select Docker Explorer.
  5. Click Open.

    The Docker Explorer view appears.

    crs docker explorer
  6. Expand the Docker socket folder.
  7. Right-click ImagesPull.

    crs docker pull images

    The Pull Image window appears.

    crs docker pull image window
  8. Click Search.

    The Search the Docker Registry for images window appears.

    crs docker pulling wildfly image
  9. Enter your image name into the search field.
  10. Click Next.

    The Choose a tag for the selected image window appears.

    crs docker images tags
  11. Choose a tag for your image.
  12. Click Finish.

    The Pull an image or a repository from the registry window appears.

    crs docker pulling wildfly image2
  13. Click Finish.

You new Docker image is now listed in the Docker Explorer view.

crs docker pulled image

3.2.2. Pushing Docker images

Before pushing an image you must tag it. The following section describes how to tag and push a Docker image in CodeReady Studio.

Procedure

  1. Start CodeReady Studio.
  2. Click WindowShow ViewOther.

    The Show View window appears.

    crs opening docker explorer
  3. Enter Docker in the search field.
  4. Select Docker Explorer.
  5. Click Open.

    The Docker Explorer view appears.

    crs docker explorer
  6. Expand Docker socketImages.
  7. Right-click the image you want to tag.
  8. Click Add tag.

    crs docker tag image

    The Tag Image window appears.

  9. Enter your tag in the New Tag field.

    The tag should be in the form of username/image_name:tag_name, where username is your Docker ID on hub.docker.com, image_name is the name of your image, and tag_name is the version of your image.

    crs docker tagging image
  10. Click Finish.
  11. Right-click the tagged imagePush.

    crs docker pushing tagged image

    The Push image to Registry window appears.

    crs docker image push
  12. Select the Registry Account that starts with your Docker ID.
  13. Click Finish.

After you push the image it appears in the Docker Cloud. This image is then available for other developers to use.

3.2.3. Running Docker images

Procedure

  1. Start CodeReady Studio.
  2. Click WindowShow ViewOther.

    The Show View window appears.

    crs opening docker explorer
  3. Enter Docker in the search field.
  4. Select Docker Explorer.
  5. Click Open.

    The Docker Explorer view appears.

    crs docker explorer
  6. Expand Docker socketImages.
  7. Right-click images you want to run.
  8. Click Run.

    crs docker running image

    The Docker Container settings window appears.

    crs docker container settings
  9. Name the container.
  10. Clear the Publish all exposed ports to random ports on the host interfaces check box.
  11. Check the box for the 8080 port.
  12. Click Finish.

    The Console view appears showing the process of starting the image.

  13. In the web browser, navigate to http://localhost:8080/ to see the image running.

    crs docker image running

3.2.4. Building images with Dockerfile

You can build or create an image by modifying an existing image. Typically, this involves installing new packages. The specification of the new Docker image is done via a the Dockerfile.

Prerequisites

  • You must have a Dockerfile created on your local machine.

    For more information on how to create a Dockerfile, see Creating a Dockerfile.

Procedure

  1. Start CodeReady Studio.
  2. Click WindowShow ViewOther.

    The Show View window appears.

    crs opening docker images view
  3. Enter Docker in the search field.
  4. Select Docker Images.
  5. Click Open.

    The Docker Images view appears.

    crs docker images view
  6. Click the Build Image icon.

    crs docker build image icon

    The Build a Docker Image window appears.

    crs building a docker image
  7. Name the image in the format of repo/name:version.
  8. Click Browse to locate the Dockerfile.
  9. Click Finish.

The Console view appears displaying the build process.

3.3. Managing Docker Containers

Docker containers are isolated processes that are based on Docker images. Once created, users can stop, start, pause, unpause, kill, or remove the containers as well as read their logs.

The following section describes how to manage Docker containers in CodeReady Studio.

Procedure

  1. Start CodeReady Studio.
  2. Click WindowShow ViewOther.

    The Show View window appears.

    crs opening docker containers view
  3. Enter Docker into the search field.
  4. Select Docker Containers.
  5. Click Open.

    The Docker Containers view appears.

    crs docker containers view

You can start, pause, unpause, stop, kill, restart, remove, or refresh the containers by using the panel.

crs docker containers control panel

Legal Notice

Copyright © 2021 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.