ramalama-containers - Man Page

list all RamaLama containers

Synopsis

ramalama containers [options]

ramalama ps [options]

Description

List all containers running AI Models

Command will not work when run with --nocontainer option.

Options

--format=format

pretty-print containers to JSON or using a Go template

Valid placeholders for the Go template are listed below:

PlaceholderDescription
.CommandQuoted command used
.Created ...Creation time for container, Y-M-D H:M:S
.CreatedAtCreation time for container (same as above)
.CreatedHumanCreation time, relative
.ExitCodeContainer exit code
.Exited"true" if container has exited
.ExitedAtTime (epoch seconds) that container exited
.ExposedPorts ...Map of exposed ports on this container
.IDContainer ID
.ImageImage Name/ID
.ImageIDImage ID
.Label stringSpecified label of the container
.Labels ...All the labels assigned to the container
.NamesName of container
.NetworksShow all networks connected to the container
.PidProcess ID on host system
.PortsForwarded and exposed ports
.RunningForTime elapsed since container was started
.SizeSize of container
.StartedAtTime (epoch seconds) the container started
.StateHuman-friendly description of ctr state
.StatusStatus of container

--help, -h

Print usage message

--no-trunc

Display the extended information

--noheading, -n

Do not print heading

Example

$ ramalama containers
CONTAINER ID  IMAGE                             COMMAND               CREATED        STATUS                    PORTS                   NAMES
85ad75ecf866  quay.io/ramalama/ramalama:latest  /usr/bin/ramalama...  5 hours ago    Up 5 hours                0.0.0.0:8080->8080/tcp  ramalama_s3Oh6oDfOP
85ad75ecf866  quay.io/ramalama/ramalama:latest  /usr/bin/ramalama...  4 minutes ago  Exited (0) 4 minutes ago                          granite-server
$ ramalama ps --noheading --format "{{ .Names }}"
ramalama_s3Oh6oDfOP
granite-server

See Also

ramalama(1)

History

Aug 2024, Originally compiled by Dan Walsh dwalsh@redhat.com ⟨mailto:dwalsh@redhat.com⟩

Referenced By

ramalama(1).

The man page ramalama-ps(1) is an alias of ramalama-containers(1).