DockerBuilder: allow for remote Docker daemons
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- docker, typescript
- Domain
- build-system, devops
Research direction
Start by locating the DockerBuilder implementation and the current Docker client construction shown in the issue. Trace how build context contents are provided to the daemon, then determine the configuration needed for a remote HTTPS daemon and how that context could be transferred. Done means a configured remote daemon can build the image without requiring a local Docker installation.
Written by the indexing model from the issue text.
Description
Currently, Dockter requires Docker to be installed on the system. That's because we're using:
const docker = new Docker() # Connects to local Docker daemon via '/var/run/docker.sock'
But, in theory, we could allow for a remote Docker daemon to build images (it would require that the folder contents be zipped up and send across the network). e.g.
const docker = new Docker({
protocol: 'https',
host: 'some.docker-server.org',
port: process.env.DOCKER_PORT || 2375,
ca: fs.readFileSync('ca.pem'),
cert: fs.readFileSync('cert.pem'),
key: fs.readFileSync('key.pem')
})
Not a high priority, but could be useful for users who don't have Docker installed and don't want to.
- Dominant language
- TypeScript
- Stars
- 124
- Forks
- 10
- Avg merge
- 3h 28m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from stencila/dockta
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Update dependencies Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
good first issue
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
enhancement
Similar issues
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 76/100
-
code-quality refactoring
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
vercel/react-tweet#225 ·