|
| 1 | +module.exports = { |
| 2 | + title: 'Docker 从入门到实践', |
| 3 | + base: '/', |
| 4 | + themeConfig: { |
| 5 | + docsRepo: 'yeasy/docker_practice', |
| 6 | + docsDir: '/', |
| 7 | + editLinks: true, |
| 8 | + nav: [{ |
| 9 | + text: '安装 Docker', |
| 10 | + link: '/install/', |
| 11 | + }, |
| 12 | + { |
| 13 | + text: 'Docker 入门', |
| 14 | + link: '/' |
| 15 | + }, |
| 16 | + { |
| 17 | + text: 'Docker 实战', |
| 18 | + link: '/cases/os/' |
| 19 | + }, |
| 20 | + { |
| 21 | + text: 'CI/CD', |
| 22 | + link: '/cases/ci/' |
| 23 | + }, |
| 24 | + { |
| 25 | + text: 'Docker 仓库', |
| 26 | + link: '/repository/' |
| 27 | + }, |
| 28 | + { |
| 29 | + text: '底层实现', |
| 30 | + link: '/underly/', |
| 31 | + }, |
| 32 | + { |
| 33 | + text: 'Compose', |
| 34 | + link: '/compose/', |
| 35 | + }, |
| 36 | + { |
| 37 | + text: 'Kubernetes', |
| 38 | + link: '/kubernetes/', |
| 39 | + }, |
| 40 | + { |
| 41 | + text: 'GitHub', |
| 42 | + link: 'https://github.com/yeasy/docker_practice' |
| 43 | + }, |
| 44 | + // { |
| 45 | + // text: '捐赠', |
| 46 | + // link: '' |
| 47 | + // }, |
| 48 | + { |
| 49 | + text: '腾讯云容器服务', |
| 50 | + link: 'https://cloud.tencent.com/redirect.php?redirect=10058&cps_key=3a5255852d5db99dcd5da4c72f05df61' |
| 51 | + }, |
| 52 | + // { |
| 53 | + // text: '语言', |
| 54 | + // items: [{ |
| 55 | + // text: 'English', |
| 56 | + // link: '' |
| 57 | + // }] |
| 58 | + // } |
| 59 | + ], |
| 60 | + sidebar: { |
| 61 | + '/kubernetes/': [ |
| 62 | + 'intro', |
| 63 | + 'quickstart', |
| 64 | + 'concepts', |
| 65 | + 'kubectl', |
| 66 | + 'design', |
| 67 | + ], |
| 68 | + '/compose/': [ |
| 69 | + 'introduction', |
| 70 | + 'install', |
| 71 | + 'usage', |
| 72 | + 'commands', |
| 73 | + 'compose_file', |
| 74 | + 'django', |
| 75 | + 'rails', |
| 76 | + 'wordpress', |
| 77 | + ], |
| 78 | + '/install/': [ |
| 79 | + '/install/', |
| 80 | + 'ubuntu', |
| 81 | + 'debian', |
| 82 | + 'fedora', |
| 83 | + 'centos', |
| 84 | + 'raspberry-pi', |
| 85 | + 'mac', |
| 86 | + 'windows', |
| 87 | + 'mirror', |
| 88 | + ], |
| 89 | + '/underly/': [ |
| 90 | + '/underly/', |
| 91 | + 'arch', |
| 92 | + 'namespace', |
| 93 | + 'cgroups', |
| 94 | + 'ufs', |
| 95 | + 'container_format', |
| 96 | + 'network', |
| 97 | + ], |
| 98 | + '/repository/': [ |
| 99 | + '/repository/', |
| 100 | + 'dockerhub', |
| 101 | + 'registry', |
| 102 | + 'registry_auth', |
| 103 | + 'nexus3_registry', |
| 104 | + ], |
| 105 | + '/cases/os/': [ |
| 106 | + { |
| 107 | + title: "操作系统", |
| 108 | + collapsable:false, |
| 109 | + children: [ |
| 110 | + '/cases/os/', |
| 111 | + 'busybox', |
| 112 | + 'alpine', |
| 113 | + 'debian', |
| 114 | + 'centos', |
| 115 | + 'summary', |
| 116 | + ], |
| 117 | + }, |
| 118 | + ], |
| 119 | + '/cases/ci/': [ |
| 120 | + '/cases/ci/', |
| 121 | + '/cases/ci/actions/', |
| 122 | + { |
| 123 | + title: "Drone", |
| 124 | + collapsable: false, |
| 125 | + children: [ |
| 126 | + 'drone/', |
| 127 | + 'drone/install' |
| 128 | + ] |
| 129 | + }, |
| 130 | + 'travis/' |
| 131 | + ], |
| 132 | + '/': [ |
| 133 | + '/', |
| 134 | + '/CHANGELOG', |
| 135 | + '/CONTRIBUTING', |
| 136 | + { |
| 137 | + title: "Docker 简介", |
| 138 | + collapsable: false, |
| 139 | + children: [ |
| 140 | + '/introduction/', |
| 141 | + '/introduction/what', |
| 142 | + '/introduction/why', |
| 143 | + ] |
| 144 | + },{ |
| 145 | + title: "基本概念", |
| 146 | + collapsable: false, |
| 147 | + children: [ |
| 148 | + '/basic_concept/', |
| 149 | + '/basic_concept/image', |
| 150 | + '/basic_concept/container', |
| 151 | + '/basic_concept/repository' |
| 152 | + ] |
| 153 | + }, |
| 154 | + { |
| 155 | + title: "使用镜像", |
| 156 | + collapsable: false, |
| 157 | + children: [ |
| 158 | + '/image/', |
| 159 | + '/image/pull', |
| 160 | + '/image/list', |
| 161 | + '/image/rm', |
| 162 | + '/image/commit', |
| 163 | + '/image/build', |
| 164 | + '/image/other.md', |
| 165 | + '/image/internal.md', |
| 166 | + ] |
| 167 | + }, |
| 168 | + { |
| 169 | + title: 'Dockerfile', |
| 170 | + collapsable: false, |
| 171 | + children: [ |
| 172 | + "/image/dockerfile/", |
| 173 | + '/image/dockerfile/copy', |
| 174 | + '/image/dockerfile/add', |
| 175 | + '/image/dockerfile/cmd', |
| 176 | + '/image/dockerfile/entrypoint', |
| 177 | + '/image/dockerfile/env', |
| 178 | + '/image/dockerfile/arg', |
| 179 | + '/image/dockerfile/volume', |
| 180 | + '/image/dockerfile/expose', |
| 181 | + '/image/dockerfile/workdir', |
| 182 | + '/image/dockerfile/user', |
| 183 | + '/image/dockerfile/healthcheck', |
| 184 | + '/image/dockerfile/onbuild', |
| 185 | + '/image/dockerfile/references', |
| 186 | + '/image/multistage-builds/', |
| 187 | + '/image/multistage-builds/laravel', |
| 188 | + '/image/manifest', |
| 189 | + '/image/buildx_multi-arch-images', |
| 190 | + '/image/buildkit', |
| 191 | + '/image/buildx', |
| 192 | + ] |
| 193 | + },{ |
| 194 | + title: "操作容器", |
| 195 | + collapsable: false, |
| 196 | + children: [ |
| 197 | + 'container/', |
| 198 | + 'container/run', |
| 199 | + 'container/daemon', |
| 200 | + 'container/stop', |
| 201 | + 'container/attach_exec', |
| 202 | + 'container/import_export', |
| 203 | + 'container/rm', |
| 204 | + ], |
| 205 | + }, |
| 206 | + { |
| 207 | + title: "数据管理", |
| 208 | + collapsable:false, |
| 209 | + children: [ |
| 210 | + 'data_management/', |
| 211 | + 'data_management/volume', |
| 212 | + 'data_management/bind-mounts', |
| 213 | + ], |
| 214 | + },{ |
| 215 | + title: "使用网络", |
| 216 | + collapsable:false, |
| 217 | + children: [ |
| 218 | + 'network/', |
| 219 | + 'network/port_mapping', |
| 220 | + 'network/linking', |
| 221 | + 'network/dns', |
| 222 | + ], |
| 223 | + }, |
| 224 | + { |
| 225 | + title: "高级网络配置", |
| 226 | + collapsable:false, |
| 227 | + children: [ |
| 228 | + 'advanced_network/', |
| 229 | + 'advanced_network/quick_guide', |
| 230 | + 'advanced_network/access_control', |
| 231 | + 'advanced_network/port_mapping', |
| 232 | + 'advanced_network/bridge', |
| 233 | + 'advanced_network/example', |
| 234 | + 'advanced_network/config_file', |
| 235 | + 'advanced_network/ptp', |
| 236 | + ], |
| 237 | + }, |
| 238 | + { |
| 239 | + title: "Swarm mode", |
| 240 | + collapsable:false, |
| 241 | + children: [ |
| 242 | + 'swarm_mode/', |
| 243 | + 'swarm_mode/overview', |
| 244 | + 'swarm_mode/create', |
| 245 | + 'swarm_mode/deploy', |
| 246 | + 'swarm_mode/stack', |
| 247 | + 'swarm_mode/secret', |
| 248 | + 'swarm_mode/config', |
| 249 | + 'swarm_mode/rolling_update', |
| 250 | + ], |
| 251 | + }, |
| 252 | + { |
| 253 | + title: "安全", |
| 254 | + collapsable: false, |
| 255 | + children: [ |
| 256 | + 'security/', |
| 257 | + 'security/kernel_ns', |
| 258 | + 'security/control_group', |
| 259 | + 'security/daemon_sec', |
| 260 | + 'security/kernel_capability', |
| 261 | + 'security/other_feature', |
| 262 | + 'security/summary', |
| 263 | + ], |
| 264 | + }, |
| 265 | + { |
| 266 | + title: "Etcd", |
| 267 | + collapsable:false, |
| 268 | + children: [ |
| 269 | + 'etcd/', |
| 270 | + 'etcd/intro', |
| 271 | + 'etcd/install', |
| 272 | + 'etcd/cluster', |
| 273 | + 'etcd/etcdctl', |
| 274 | + ], |
| 275 | + }, |
| 276 | + { |
| 277 | + title: "Fedora CoreOS", |
| 278 | + collapsable: false, |
| 279 | + children: [ |
| 280 | + 'coreos/', |
| 281 | + 'coreos/intro', |
| 282 | + 'coreos/intro_tools', |
| 283 | + ], |
| 284 | + }, |
| 285 | + { |
| 286 | + title: "容器与云计算", |
| 287 | + collapsable:false, |
| 288 | + children: [ |
| 289 | + 'cloud/', |
| 290 | + 'cloud/intro', |
| 291 | + 'cloud/aws', |
| 292 | + 'cloud/tencentCloud', |
| 293 | + 'cloud/alicloud', |
| 294 | + 'cloud/summary', |
| 295 | + ], |
| 296 | + }, |
| 297 | + { |
| 298 | + title: "Docker 开源项目", |
| 299 | + collapsable:false, |
| 300 | + children:[ |
| 301 | + 'opensource/', |
| 302 | + 'opensource/linuxkit', |
| 303 | + ], |
| 304 | + }, |
| 305 | + { |
| 306 | + title: "附录", |
| 307 | + collapsable:false, |
| 308 | + children: [ |
| 309 | + 'appendix/', |
| 310 | + 'appendix/faq/', |
| 311 | + 'appendix/repo/', |
| 312 | + 'appendix/repo/ubuntu', |
| 313 | + 'appendix/repo/centos', |
| 314 | + 'appendix/repo/nginx', |
| 315 | + 'appendix/repo/php', |
| 316 | + 'appendix/repo/nodejs', |
| 317 | + 'appendix/repo/mysql', |
| 318 | + 'appendix/repo/wordpress', |
| 319 | + 'appendix/repo/mongodb', |
| 320 | + 'appendix/repo/redis', |
| 321 | + 'appendix/command/', |
| 322 | + 'appendix/best_practices', |
| 323 | + 'appendix/debug', |
| 324 | + 'appendix/resources' |
| 325 | + ], |
| 326 | + }, |
| 327 | + { |
| 328 | + title: "Docker Machine", |
| 329 | + collapsable: false, |
| 330 | + children: [ |
| 331 | + 'machine/', |
| 332 | + 'machine/install', |
| 333 | + 'machine/usage', |
| 334 | + ], |
| 335 | + }, |
| 336 | + { |
| 337 | + title: 'Mesos', |
| 338 | + collapsable: false, |
| 339 | + children: [ |
| 340 | + '/mesos/intro', |
| 341 | + '/mesos/installation', |
| 342 | + '/mesos/architecture', |
| 343 | + '/mesos/configuration', |
| 344 | + '/mesos/monitor', |
| 345 | + '/mesos/framework', |
| 346 | + '/mesos/summary', |
| 347 | + ] |
| 348 | + }, |
| 349 | + ], |
| 350 | + }, |
| 351 | + } |
| 352 | +} |
0 commit comments