ramalama-containers(1)

πŸ“¦
version 0.25.0 Β· 2 versions
, in fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

✨ ramalama-containers ✨

okay bestie, welcome to ramalama-containers β€” the part of the ramalama manual where we list ALL the RamaLama containers. yes, all of them. every single one. πŸ’…


🌸 NAME 🌸

ramalama-containers β€” list all RamaLama containers 🫢


πŸŽ€ SYNOPSIS πŸŽ€

ramalama containers [options]

ramalama ps [options]

πŸ¦‹ DESCRIPTION πŸ¦‹

List all containers running AI Models. that's it, that's the whole vibe. ✨

heads up bestie: this command conflicts with the --nocontainer option. they cannot coexist. it's giving oil and water. πŸ’€

πŸ’– OPTIONS πŸ’–

  • --format=format β€” pretty-print containers to JSON or using a Go template. yes, you can make it cute. no, you can't make it lie.

Valid placeholders for the Go template are listed below, and we are NOT skipping a single one, periodt:

  • .Command β€” Quoted command used
  • .Created ... β€” Creation time for container, Y-M-D H:M:S
  • .CreatedAt β€” Creation time for container (same as above)
  • .CreatedHuman β€” Creation time, relative
  • .ExitCode β€” Container exit code
  • .Exited β€” "true" if container has exited
  • .ExitedAt β€” Time (epoch seconds) that container exited
  • .ExposedPorts ... β€” Map of exposed ports on this container
  • .ID β€” Container ID
  • .Image β€” Image Name/ID
  • .ImageID β€” Image ID
  • .Label string β€” Specified label of the container
  • .Labels ... β€” All the labels assigned to the container
  • .Names β€” Name of container
  • .Networks β€” Show all networks connected to the container
  • .Pid β€” Process ID on host system
  • .Ports β€” Forwarded and exposed ports
  • .RunningFor β€” Time elapsed since container was started
  • .Size β€” Size of container
  • .StartedAt β€” Time (epoch seconds) the container started
  • .State β€” Human-friendly description of ctr state
  • .Status β€” Status of container
  • --help, -h β€” Print usage message. the "help me pls" button. πŸ™ˆ
  • --no-trunc β€” Display the extended information. no truncation, all the tea. πŸ”₯
  • --noheading, -n β€” Do not print heading. just the rows, no labels on top. lowkey minimalist of it. 🌿

🌈 EXAMPLE 🌈

okay so here's what it actually looks like in the wild, bestie:

$ 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? two containers, one still up, one already exited, and the second command just spits out the names with zero decoration. clean. iconic. slay. πŸ’š


πŸ‘‘ SEE ALSO πŸ‘‘


πŸ“œ HISTORY πŸ“œ

Aug 2024, Originally compiled by Dan Walsh dwalsh@redhat.com πŸ’Œ


and that's the whole page bestie, you ate it up. this was ramalama-containers(1) from the General Commands Manual, written by Dan Walsh back in Aug 2024 β€” go forth and list your containers, iykyk. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from