Product Features
...
Containers
Manage Containers
5 min
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 litmus edge supports docker registry v2 before you begin you must do one of the following create a docker image to deploy to your private repository docid\ tl0igwm y39edvsoqpjbe upload an image docid\ ll c8iangq6jv3ex65ntv into litmus edge download an image docid 98r6v sgu5lp435zm6omo you must also add a registry docid\ wgl 1tpofzvnavhad3lhy entry to run a container navigate to applications > containers from the containers pane, click run the enter command to run field appears enter the docker run command for the selected application (docker image), and then click run example docker run d name hello hello world if the docker run command was successful, the chosen image will be pulled from a registry to the litmus edge instance and appear in images docid\ dqz6yczkbv6r7basdschi the downloaded image will then be automatically executed, and 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 \[1] copy port number for certain docker container’s applications, they can be directly accessed by using the ip address of the litmus edge instance, followed by the port format would be ## ## ## ## #### for example, if the ip address was 1 2 3 4 and the port was 3000, then the container application may be accessible at 1 2 3 4 3000 \[2] start and stop container once stopped, the container shows an exited status \[3] pause and un pause container \[4] remove container a container must be stopped first before it can be removed once removed, 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 \[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