Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
leanprover-community
queueboard-core
Repository navigation
Code
Issues
26
(26)
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
queueboard-core
/
.docker-env.example
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
29 lines (27 loc) · 1.53 KB
master
Breadcrumbs
queueboard-core
/
.docker-env.example
Copy path
Top
File metadata and controls
Code
Blame
29 lines (27 loc) · 1.53 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Docker environment for running this repo's Compose checks from a SANDBOXED shell.
# Not needed in a normal terminal — `bash scripts/repo_check_compose.sh` just works there.
#
# WHY THIS EXISTS: Docker Desktop's credential helper cannot start under a sandbox that blocks
# writes to ~/Library/Containers, and it takes every image pull down with it — even though this
# project pulls only public images and needs no credentials at all. Pointing DOCKER_CONFIG at a
# config with no "credsStore" skips the helper entirely.
#
# Full explanation, verification and undo: docs/sandboxed_docker_setup.md
#
# Copy to `.docker-env` (gitignored, absolute paths are machine-specific):
#
# mkdir -p .docker-nocreds
# printf '{"auths":{}}\n' > .docker-nocreds/config.json
# ln -sfn /Applications/Docker.app/Contents/Resources/cli-plugins .docker-nocreds/cli-plugins
# cat > .docker-env <<EOF
# DOCKER_CONFIG=$(pwd)/.docker-nocreds
# DOCKER_HOST=unix://$HOME/.docker/run/docker.sock
# EOF
#
# Then pass `.docker-env` to the sandbox wrapper, or: set -a; . ./.docker-env; set +a
# Credential-helper-free Docker config. Kept in the repo deliberately: a new directory under
# $HOME is not readable from the sandbox, while the repo is both readable and writable.
DOCKER_CONFIG=/absolute/path/to/queueboard-core/.docker-nocreds
# Required: overriding DOCKER_CONFIG also moves where the CLI resolves *contexts*, so the
# desktop-linux context is no longer found and the daemon socket must be named explicitly.
DOCKER_HOST=unix:///Users/<you>/.docker/run/docker.sock
You can’t perform that action at this time.