@@ -75,61 +75,6 @@ docker run -it --name devops-toolkit-demo3 \
75
75
- You can replace ` $HOME/.dtc ` with any desired folder path on your VM.
76
76
- Remove the ` -v $HOME/.dtc:/dtc ` option if you do not wish to store configurations on the host (not recommended for configuration reuse).
77
77
78
- ## Use DevOps Toolkit with devops-toolkit-cli
79
-
80
- Optionally, you can use the provided execution script which simplifies the setup, execution, and management of the DevOps Toolkit.
81
-
82
- ### 1. Install
83
-
84
- ``` bash
85
- curl -o devops-toolkit-cli https://raw.githubusercontent.com/tungbq/devops-toolkit/main/devops-toolkit-cli
86
- chmod +x devops-toolkit-cli
87
- sudo mv devops-toolkit-cli /usr/local/bin/
88
- ```
89
-
90
- ### 2. Run
91
-
92
- Navigate to your workspace folder, then:
93
-
94
- - Initialize the docker image, container and configuration directory:
95
-
96
- ``` bash
97
- devops-toolkit-cli init my_toolkit_01
98
- # Run 'devops-toolkit-cli init my_toolkit_01 vX.Y.Z' if you want to use specific version.
99
- # E.g: devops-toolkit-cli init my_toolkit_01 1.0.2
100
- ```
101
-
102
- - Start a shell in new container:
103
-
104
- ``` bash
105
- devops-toolkit-cli run my_toolkit_01
106
- ```
107
-
108
- - Execute a command in the container:
109
-
110
- ``` bash
111
- devops-toolkit-cli run my_toolkit_01 ls -la
112
- ```
113
-
114
- - Access the shell:
115
-
116
- ``` bash
117
- devops-toolkit-cli shell my_toolkit_01
118
- ```
119
-
120
- - Remove container if it's not used anymore
121
-
122
- ``` bash
123
- devops-toolkit-cli cleanup my_toolkit_01
124
- # Run 'devops-toolkit-cli list' to list all available containers
125
- # Run 'devops-toolkit-cli cleanup --all' to cleanup all devops-toolkit containers
126
- ```
127
-
128
- ### 3. Get Help
129
-
130
- - For more commands, run ` devops-toolkit-cli help ` .
131
- - For detailed ` devops-toolkit-cli ` document and advanced usage, see: [ docs/usage/devops_toolkit_cli] ( ./docs/usage/devops_toolkit_cli.md )
132
-
133
78
## Versioning
134
79
135
80
We use the following versioning scheme:
0 commit comments