Product Features
...
Applications
Containers

Manage Containers

4min

You can run and manage containers by navigating to Applications > Containers.

Run a Container

You can add and run a container locally using the Run command. The named container pulls the container from the Docker registry and it appears on the Container pane, running locally.

Manufacturing Connect Edge supports Docker Registry v2.

Before You Begin

To run a container:

  1. Navigate to Applications > Containers.
  2. From the Containers pane, click Run. The Enter command to run field appears.

    Container Run button
    Container Run button
    
  3. Enter the docker run command for the selected application, and then click Run.

Example: docker run -d --name hello hello-world

The named container appears in the Containers pane, and its state is running. The container runs locally.

Manage individual containers

Refer to the image and callouts below for management options for containers.

Management options for containers
Management options for containers


[1] Copy port number

[2] Start and Stop container: Once stopped, the container shows an Exited status.

[3] Pause and Un-pause container

[4] Remove container: The container is removed from the Containers pane.

[5] Show container log: This is similar to the logs available from the Overview pane but displays directly from the container environment. See the "View Container Logs" section below for more information.

[6] Inspect: Displays the configuration, attached volumes, and policies included in the container. From the specified container pane, you can reload the container.

[7] Terminal: You can open a terminal console for a specified container. The terminal is normally used for diagnostic purposes. It allows you to modify the application's configuration, though this is not recommended.

[8[ Container top: You can view information about the container services that are running. This is normally used by developers.

View Container Logs

When you click the Show container log icon, the Log pane displays.

Refer to the image and callouts below for filter options for container logs.

Document image


[1] Search: Enter search terms to find text in all the log entries defined.

[2] Fetch Log: You can review a log for the specified time period you select (All logs, Last day, Last 4 hours, Last hour, or Last 10 minutes, Last minute).

[3] Line Wrap: If enabled, text is formatted to fit within the screen, so no horizontal scrolling in the log screen is needed.

[4] Display Timestamp: If enabled, the timestamp for each message is displayed.

[5] Download Logs: Select to download all logs or only logs you've filtered to display.