tridentctl
command for any platform with Docker.
tridentctl
was not running on macOS, Windows and other than Linux.
However Docker is running on any platform.
So, tridentctl
running on Docker to workalound to this issue.
# Show tridentctl version
docker run -it --rm -v ${KUBECONFIG}:/root/.kube -v ${PWD}:/opt/trident sightseeker/tridentctl version
# Show usage of tridentctl (help)
docker run -it --rm -v ${KUBECONFIG}:/root/.kube -v ${PWD}:/opt/trident sightseeker/tridentctl --help
# Show backends
docker run -it --rm -v ${KUBECONFIG}:/root/.kube -v ${PWD}:/opt/trident sightseeker/tridentctl get backend
Alias config to your .bash_profile
for tridentctl for docker
use without docker-cli use.
alias tridentctl="docker run -it --rm -v ${HOME}/.kube:/root/.kube -v ${PWD}:/opt/trident sightseeker/tridentctl"
# reload bash_profile
source ~/.bash_profile
# tridentctl for docker without docker-cli use.
tridentctl version
docker-compose build