| display_name | Rocky Linux Dev Environment | ||||||
|---|---|---|---|---|---|---|---|
| description | Provision Rocky Linux containers with Neovim, Go, Rust, Node.js as Coder workspaces | ||||||
| icon | ../../../site/static/icon/docker.png | ||||||
| maintainer_github | coder | ||||||
| verified | true | ||||||
| tags |
|
Provision Rocky Linux containers as Coder workspaces with this template.
The VM you run Coder on must have a running Docker socket and the coder user must be added to the Docker group:
# Add coder user to Docker group
sudo adduser coder docker
# Restart Coder server
sudo systemctl restart coder
# Test Docker
sudo -u coder docker psThis template provisions the following resources:
- Docker image (built by Docker socket and kept locally)
- Docker container pod (ephemeral)
- Docker volume (persistent on
/home/coder)
This means, when the workspace restarts, any tools or files outside of the home directory are not persisted. To pre-bake tools into the workspace, modify the container image. Alternatively, individual developers can personalize their workspaces with dotfiles.
Note This template is designed to be a starting point! Edit the Terraform to extend the template to support your use case.
This workspace includes:
- Neovim v0.12.1 - Modern Vim editor with Lazy.nvim plugin manager
- Go 1.26.2 - Go programming language
- Rust - With USTC crates.io and rustup mirrors configured
- Node.js (fnm) - Fast Node Manager for Node.js version management
- Claude Code - Anthropic's official CLI tool for Claude, globally installed
- Fish shell - Default shell with fish configuration
- Common utilities - ripgrep, fd-find, tmux, screen, htop, fastfetch, make
Edit the Dockerfile and run coder templates push to update workspaces.
This template supports HTTP/HTTPS proxy configuration during Docker image build. Set the following Terraform variables when needed:
http_proxyhttps_proxyno_proxy
docker build --progress=plain -t coder-rocky-dev .docker build --force --progress=plain -t coder-rocky-dev .docker run -it --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
coder-rocky-dev:latest