Use docker API instead of exec docker commands
Open
docker
enhancement
invoker
- Dominant language
- Scala
- Stars
- 6.8k
- Forks
- 1.2k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 2
Description
Call commands are less safe than call the docker API. In long time docker-cli may change contract and should broken the app, the API of docker is versioned and avoid break changes.
## References:
https://docs.docker.com/engine/reference/api/docker_remote_api/
https://github.com/softprops/tugboat
Contributor guide
Research direction
Review the Docker Engine API reference and the linked tugboat project first. Locate the OpenWhisk code that executes docker CLI commands, then determine the affected call paths and existing tests. Done means the relevant Docker operations use the versioned API rather than shelling out to docker commands, with behavior preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, scala
- Domain
- backend, infrastructure
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100