CosmicAC Logo

How to access a GPU Container Job

Open an interactive shell into a running GPU Container Job with the CLI.

Open an interactive shell into a running GPU Container Job. From the shell, you run commands on the container directly.

Prerequisites

You need the following before you start.

Find the job ID

List your jobs and copy the ID of the job you want to access.

cosmicac jobs list

Open the container shell

Open a shell into the container. The container index is usually 0 for the first container.

cosmicac jobs shell <jobId> <containerId>

This opens a live shell on the container. Press Ctrl+C to exit.

The job must be a GPU Container Job in the running state. If the shell is not registered yet, wait for the container to finish booting, then try again.

Next steps

On this page