Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

20 Commits

Repository files navigation

Devcontainer Features

Personal dev container features for configuring development environments.

Features

fish-starship

Installs Fish shell and Starship prompt.

OptionTypeDefault
fishGreetingstringGlub glub! 🐟 🐠

ssh-signing

Configures git to use SSH commit signing when an agent is available. Detects keys automatically at container start.

OptionTypeDefault
gitUserNamestring""
gitUserEmailstring""
gitAliasesbooleantrue

Includes git aliases (st, co, br), pull.rebase=true, autocrlf=input, and init.defaultBranch=main.

direnv

Installs direnv and configures shell hooks for bash, zsh, and fish. Enables load_dotenv by default so .env files are automatically loaded.

OptionTypeDefault
versionstring"latest"

The version option accepts "latest", "system", or a specific version like "2.34.0".

claude-code-persistence

Persists Claude Code configuration across container rebuilds using Docker named volumes.

OptionTypeDefaultDescription
persistClaudeDirbooleantruePersist ~/.claude/ directory (history, projects, settings)
persistClaudeJsonbooleanfalsePersist ~/.claude.json file (auth/config)
sharedAcrossContainersbooleanfalseReserved for future use

Use alongside a Claude Code installation feature (e.g., ghcr.io/anthropics/devcontainer-features/claude-code).

Usage

Add features to your devcontainer.json:

{
"features": {
"ghcr.io/esimkowitz/devcontainer-features/fish-starship:1": {},
"ghcr.io/esimkowitz/devcontainer-features/ssh-signing:1": {},
"ghcr.io/esimkowitz/devcontainer-features/direnv:1": {},
"ghcr.io/esimkowitz/devcontainer-features/claude-code-persistence:1": {}
}
}

SSH Agent Forwarding

VS Code automatically forwards your SSH agent into dev containers. The ssh-signing feature detects this at shell login and configures git commit signing automatically — no additional configuration needed.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages