A ready-to-use VS Code Server container with integrated data science tools, perfect for cloud development environments and the CyVerse Discovery Environment (DE).
Get started immediately using our pre-built container in the CyVerse Discovery Environment:
This VS Code Server container comes with:
- NVIDIA CUDA 12.5 - GPU acceleration support
- Miniconda & Mamba - Efficient Python package management
- Ollama - Run AI models locally
- Git Credential Manager - Seamless Git authentication
- GoCommands - CyVerse Data Store integration
- Pre-installed VS Code Extensions:
- Python
- Jupyter
- vscode-icons
You can run this container on your local machine or a virtual machine:
# Pull the container
docker pull harbor.cyverse.org/vice/vscode:latest
# Run without GPU
docker run -it --rm -d -p 8080:8080 harbor.cyverse.org/vice/vscode:latest
# Run with GPU support
docker run -it --rm -d -p 8080:8080 --gpus all harbor.cyverse.org/vice/vscode:latestAfter running the container, access VS Code at http://localhost:8080
When used in the CyVerse Discovery Environment, this container automatically:
- Connects to your CyVerse Data Store
- Transfers your Git and SSH configurations
- Provides access to CyVerse's high-performance computing and storage
You can extend this container with your own tools:
FROM harbor.cyverse.org/vice/vscode:latest
# Add your own dependencies
RUN apt update && apt install -y your-package-here
# Add your own Python packages
RUN mamba install -y -c conda-forge your-python-packageThe Dockerfile implements several best practices:
- Robust user/group handling compatible with the base image
- Version-pinned dependencies for better reproducibility
- Layer optimization to minimize container size
- Built-in healthcheck for container monitoring
- CUDA 12.5 and NVIDIA driver integration
- Pre-configured VS Code extensions for Python development
For testing with mounted home directory:
docker run -it --rm -v /$HOME:/app --workdir /app -p 3000:3000 -e REDIRECT_URL=http://localhost:3000 harbor.cyverse.org/vice/vscode:latest- Deploying your own Tools and Apps in CyVerse
- CyVerse GoCommands Documentation
- CyVerse Learning Center
Add the VS Code launch button to your website:
<a href="https://de.cyverse.org/apps/de/091c830a-4be1-11ec-aad9-008cfa5ae621/launch" target="_blank"><img src="https://img.shields.io/badge/VS%20Code-latest-6C33AF?style=plastic&logo=visualstudiocode"></a>