Sign inSign up

iankoulski/do-ngc

By iankoulski

•Updated 4 months ago

Run the NVIDIA GPU Cloud CLI (ngc) in a container using the do-framework

Image
0

325

iankoulski/do-ngc repository overview

⁠do-ngc

Run the NVIDIA GPU Cloud CLI (ngc) in a container using the do-framework⁠

This is a Depend on Docker project which comes operational out of the box and is configured with reasonable defaults, which can be customized as needed.

The project contains the following scripts:

  • build.sh - build the container image
  • test.sh - run container unit tests
  • push.sh - push the container image to a registry
  • pull.sh - pull the container image from a registry
  • run.sh [cmd] - run the container, passing an argument overrides the default command
  • status.sh - show container status - running, exited, etc.
  • logs.sh - tail container logs
  • exec.sh [cmd] - open a shell or execute a specified command in the running container

⁠Usage

Within project ( git clone https://github.com/iankoulski/do-ngc.git⁠ ):

./run.sh
./exec.sh
./stop.sh

On a docker host:

docker run -it --rm  iankoulski/do-ngc bash

In Kubernetes:

kubectl run do-ngc -it --rm --image iankoulski/do-ngc --command -- bash

Tag summary

Content type

Image

Digest

sha256:27b950944…

Size

162.2 MB

Last updated

4 months ago

docker pull iankoulski/do-ngc