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.
- The CosmicAC CLI installed and configured. See Install the CLI.
- A running GPU Container Job. See Create a GPU Container Job or How to create a GPU Container Job (CosmicAC web interface).
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.