https://github.com/lk-code/docker-captain
This tool is a cross-platform helper (currently for macOS, Ubuntu and Windows - more operating systems are planned) and brings various supports for Docker.
https://github.com/lk-code/docker-captain
Last synced: 5 months ago
JSON representation
This tool is a cross-platform helper (currently for macOS, Ubuntu and Windows - more operating systems are planned) and brings various supports for Docker.
- Host: GitHub
- URL: https://github.com/lk-code/docker-captain
- Owner: lk-code
- License: mit
- Created: 2022-11-29T19:51:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-12T15:21:13.000Z (over 3 years ago)
- Last Synced: 2025-12-20T06:18:49.622Z (6 months ago)
- Language: C#
- Homepage:
- Size: 88.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DockerCaptain

[](http://www.nuget.org/packages/DockerCaptain/)
[](https://github.com/lk-code/docker-captain/blob/master/LICENSE)
[](https://github.com/lk-code/docker-captain/actions/workflows/dotnet-desktop.yml)
[](http://www.nuget.org/packages/dockercaptain/)
[](http://nuget.org/packages/dockercaptain)
[](https://sonarcloud.io/summary/new_code?id=lk-code_docker-captain)
[](https://sonarcloud.io/summary/new_code?id=lk-code_docker-captain)
This tool is a cross-platform helper (currently for macOS, Ubuntu and Windows - more operating systems are planned) and brings various supports for Docker.
## install the tool
`dotnet tool install --global DockerCaptain`
## update the tool
`dotnet tool update --global DockerCaptain`
## user config
edit the file config.json in the app directory (you can find the path via `captain info`)
possible config values:
* docker (string) - "/path/to/docker/executable.exe"
* appdirectory (string) - "/path/to/app/directory" (notice: config.json must ALWAYS be located at the original app-directory!)
## usage
### display info
displays the app version and the path to app-directory and docker-binaries.
`captain info`
### register a image
register the given docker image and pulls in docker the latest version
`captain images register {DOCKER_IMAGE_NAME} [-f][--force]`
* `-f` `--force` (optional)
**example**:
`captain images register lkcode/a-test-image`