Arkain Guides
What's new?Getting StartedUser GuideCredit And MembershipFAQ
  • Arkain Guides
  • Getting Started
    • What is Arkain?
    • Quick Started
  • User Guide
    • Dashboard
      • Container
        • Container Specifications
        • Container Management
          • Creating Container
          • Import GitHub Repos
          • Container Settings
            • Init Script
            • Environment Variable
            • Container Upgrade
            • Rename the Container
            • Container Sharing
          • Container Run / Stop / Delete
        • Auto-off
        • NVIDIA Tesla T4 GPU Container
        • Inactive Container
      • Credit Usage
      • Billing
        • Coupon
    • Workspace
      • File Management
        • Move
        • Open / Close in Editor
        • Properties
        • Import / Export
        • Compress / Extract File
      • Commands
      • Source Code Management Git
        • Git Sidebar
        • Branch
        • Changes / Historys / Event tabs
        • Add
        • Commit
        • Push
        • Pull
        • Ignore
        • Diff
      • Collaboration
        • Container Sharing
        • Co-Editing
      • SBOM Management
      • Multi Project
      • URL / Port
      • Keyboard Shortcut
    • Arkain AI
      • What is Arkain Snap
      • What is Side Chat
        • How to use Side Chat
      • Supported Models
      • Auto-completion
    • Templates
      • Create a Template
      • Browse Templates
      • Manage a Template
      • Malicious Templates and Comment Policy
    • Bug Reporting
    • Key Terms
  • Credits & Membership
    • About Arkain Beta Crew
    • Credits
      • Calculate Your Credit Usage
      • Purchasing Credits
    • Membership
      • Subscribing to Membership
  • FAQ
    • FAQ
      • How to run as background process
      • SSH Configuration
      • Why my container blocked
      • I want to use Selenium.
      • How do I copy / paste from the terminal?
      • Official Template Guide
        • Web with Open API
  • What's new?
    • Arkain Release Note
      • March 31, 2025
      • Apr 7, 2025
      • Apr 14, 2025
      • Apr 24, 2025
      • May 15, 2025
      • May 23, 2025
      • Jun 5, 2025
Powered by GitBook
On this page
  • Using Environment Variables
  • Command Variables

Was this helpful?

Export as PDF
  1. User Guide
  2. Dashboard
  3. Container
  4. Container Management
  5. Container Settings

Environment Variable

PreviousInit ScriptNextContainer Upgrade

Last updated 2 months ago

Was this helpful?

Sensitive data like passwords and API keys can be stored in Environment Variables to be used when running Commands. Environment variables are divided into global environment variables and local environment variables.

  • Global Environment Variables Global environment variables are variables that can be used in all terminals and Commands. You can set global environment variables on the Container setting page. You can view the list of Key-Value pairs in the table of environment variables on the Container setting page.

  • Local Environment Variables Local environment variables are variables that can be used only in specific commands. You can set local environment variables on the Command settings tab within the Workspace. You can view the list of Key-Value pairs in the table of environment variables on the Command settings tab.

Using Environment Variables

  • in Container Settings Page

  • in Workspace You can use environment variables in terminals using the following command:

$ export ${key}=${value}

Command Variables

Command variables are default environment variables provided by the Arkain, consisting of values that might be challenging for users to manage easily. You can check the list of command variables on the command settings tab. The usage of command variables is the same as using environment variables.