Software Secure Workload
Activity Configure

Show Docker Instance Commands

Execute a docker command on a specific instance of a Docker resource. The instance ID can be fetched using Show Docker Commands. The command is executed on the appliance by the appliance controller. The result tailed for the last 5000 lines. Optionally, a grep pattern can be provided as argument and the output is filtered accordingly. When the result is available at Secure Workload, the result is shown in a text box.

Argument Name

Type

Description

Docker Command

dropdown

Docker command to execute

  • Image info

docker images --no-trunc <instance>
  • Network info

docker network inspect <instance>
  • Volume info

docker volume inspect <instance>
  • Container info

docker container inspect--size <instance>
  • Container logs

docker logs --tail 5000 <instance>
  • Container port mappings

docker port <instance>
  • Container resource usage stats

docker stats --no-trunc--no-stream <instance>
  • Container running processes

docker top <instance>

Instance

string

Docker resource (image, network, volume,

container) ID (See Show Docker Commands)

Grep Pattern

string

Pattern string to grep from the output

Allowed Secure Workload virtual appliances: All

Allowed connectors: None

Execute a docker instance command on Secure Workload Ingest appliance to retrieve container info
Figure 1: Execute a docker instance command on Secure Workload Ingest appliance to retrieve container info