You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# set the token
modal token set --token-id {token-id} --token-secret {token-secret} --profile={profile-name}
# This stores the token in a profile named {profile-name}. To activate, run:
modal profile activate {profile-name}
Working with containers
Once the profile has been activated, you can connect to a container in that workspace and run commands as follows.
# list the containers
modal container list
# connect to a container and open a shell
modal container exec {container-id} /bin/bash /bin/bash
NOTE: if you do not see your container in the list, you can find the container ID from modal website directly.
Go to the Apps and click on the app
Under "Overview" click on the "App Functions"
Click "Containers"
Click on one that is "Live". The ID will be displayed there.
The text was updated successfully, but these errors were encountered:
Overview
API Reference
Playground
Examples
Deployment
Secrets and Environment Variables
Webhooks (endpoints)
Commands
Setting & activating the token
Working with containers
Once the profile has been activated, you can connect to a container in that workspace and run commands as follows.
NOTE: if you do not see your container in the list, you can find the container ID from modal website directly.
The text was updated successfully, but these errors were encountered: