kasmweb/codex-cli

Verified Publisher

By Kasm Technologies

Updated 31 minutes ago

Codex CLI - OpenAI's CLI for code generation and completion using GPT models

Image
0

10K+

kasmweb/codex-cli repository overview

Kasm Workspaces is a docker container streaming platform for delivering browser-based access to desktops, applications, and web services.

Live Demo

Launch a real-time demo in a new browser window: Live Demo.

Note: Demo is limited to 3 minutes and has upload/downloads restricted for security purposes.

Get Started

Try out our no-cost Community Edition: Download.

Our Kasm Workspaces team has open-sourced our library of images (Info & Source Code).

The web-native rendering is powered by our open-source project: KasmVNC.

About This Image

This Image contains a browser-accessible Ubuntu Jammy Desktop with Codex CLI, OpenAI's command-line interface for code generation and completion using GPT models directly from your terminal.

Screenshot

Environment Variables

Codex CLI Configuration

  • OPENAI_API_KEY - Your OpenAI API key (starts with sk-). This is required for Codex CLI to authenticate with the OpenAI API. If you don't want to use an API key, you can use browser login flow to login to your OpenAI account.

You can pass this environment variable to your Codex CLI Workspace with Docker Run Config Override (JSON) in your Workspace settings.

Alternatively, you can use the Launch Form to input your API key when starting the workspace. The Launch Form allows you to:

  • Enable API key authentication
  • Input your OpenAI API key securely
  • Save your preferences for future launches

The workspace will automatically configure Codex CLI to use your API key.

Stand-alone Deployment

This image was designed to run natively within Kasm Workspaces, but it can also be deployed stand-alone and accessed through a web browser.

sudo docker run --rm -it --shm-size=512m -p 6901:6901 -e VNC_PW=password kasmweb/codex-cli:1.18.0

The container is now accessible via a browser : https://IP_OF_SERVER:6901

  • User : kasm_user
  • Password: password

Please note that some functionality, such as audio, uploads, downloads, and microphone pass-through, is only available when using Kasm Workspaces for orchestration.

Tags

  • 1.18.0

    • Images are built and tagged with the Kasm Workspaces release version.
  • 1.18.0-rolling

    • Rolling tags are images that are updated and built nightly to ensure your images are running the latest version.
  • develop

    • The develop tag is for testing and provides no expectation of compatibility.

Additional Info

Tag summary

Content type

Image

Digest

sha256:11f556a97

Size

1.7 GB

Last updated

31 minutes ago

docker pull kasmweb/codex-cli:1.19.0-rolling-daily

This week's pulls

Pulls:

1,266

Jul 6 to Jul 12