본문 바로가기

Docker, Kubernetes

[Docker,Kubernetes] 자주 사용하는 명령어 alias 등록

각 스크립트 내용은 아래 첨부파일 참고

수정날짜 : 2023-07-06

shell_scripts.tar
0.03MB

 


 

#docker
alias "docker_start"="/home/docker/shell_scripts/docker_start.sh"
alias docker_stop="/home/docker/shell_scripts/docker_stop.sh"
alias docker_status="/home/docker/shell_scripts/docker_status.sh"
alias docker_process="/home/docker/shell_scripts/docker_process.sh"
alias docker_image_build="/home/docker/shell_scripts/docker_image_build.sh"
alias docker_image_remove="/home/docker/shell_scripts/docker_image_remove.sh"
alias docker_image_none_remove="/home/docker/shell_scripts/docker_image_none_remove.sh"
alias docker_container_start="/home/docker/shell_scripts/docker_container_start.sh"
alias docker_container_stop_remove="/home/docker/shell_scripts/docker_container_stop_remove.sh"
alias docker_container_ssh="/home/docker/shell_scripts/docker_container_ssh.sh"
alias docker_container_copy="/home/docker/shell_scripts/docker_container_copy.sh"

#minikube
alias kubectl="minikube kubectl --"
alias minikube_start="/home/docker/shell_scripts/minikube_start.sh"
alias minikube_stop="/home/docker/shell_scripts/minikube_stop.sh"
alias minikube_env="/home/docker/shell_scripts/minikube_env.sh"
alias minikube_status="/home/docker/shell_scripts/minikube_status.sh"
alias minikube_deployment_create="/home/docker/shell_scripts/minikube_deployment_create.sh"
alias minikube_deployment_create_yaml="/home/docker/shell_scripts/minikube_deployment_create_yaml.sh"
alias minikube_deployment_apply="/home/docker/shell_scripts/minikube_deployment_apply.sh"
alias minikube_deployment_delete="/home/docker/shell_scripts/minikube_deployment_delete.sh"
alias minikube_deployment_status="/home/docker/shell_scripts/minikube_deployment_status.sh"
alias minikube_pod_ssh="/home/docker/shell_scripts/minikube_pod_ssh.sh"
alias minikube_pod_status="/home/docker/shell_scripts/minikube_pod_status.sh"
alias minikube_port_forwarding="/home/docker/shell_scripts/minikube_port_forwarding.sh"