Update vuepress nav

Signed-off-by: Kang Huaishuai <khs1994@khs1994.com>
pull/462/head
Kang Huaishuai 2020-08-27 23:09:11 +08:00
parent c25c7283cf
commit eac2a57633
No known key found for this signature in database
GPG Key ID: 5E515022F565DA09
5 changed files with 77 additions and 74 deletions

View File

@ -36,7 +36,16 @@ module.exports = {
docsRepo: 'yeasy/docker_practice', docsRepo: 'yeasy/docker_practice',
docsDir: '/', docsDir: '/',
editLinks: true, editLinks: true,
nav: [{ nav: [
{
text: '',
link: 'https://yewm28.coding-pages.com/wechat.jpg',
},
{
text: '',
link: 'https://yewm28.coding-pages.com/49682252-3ac4c500-faec-11e8-86ab-eafe0139be6b.jpg',
},
{
text: ' Docker', text: ' Docker',
link: '/install/', link: '/install/',
}, },
@ -52,14 +61,6 @@ module.exports = {
text: 'CI/CD', text: 'CI/CD',
link: '/cases/ci/' link: '/cases/ci/'
}, },
{
text: 'Docker ',
link: '/repository/'
},
{
text: '',
link: '/underly/',
},
{ {
text: 'Compose', text: 'Compose',
link: '/compose/', link: '/compose/',
@ -146,20 +147,6 @@ module.exports = {
'mirror', 'mirror',
'experimental', 'experimental',
], ],
'/underly/': [
'arch',
'namespace',
'cgroups',
'ufs',
'container_format',
'network',
],
'/repository/': [
'dockerhub',
'registry',
'registry_auth',
'nexus3_registry',
],
'/cases/os/': [ '/cases/os/': [
{ {
title: "操作系统", title: "操作系统",
@ -264,6 +251,17 @@ module.exports = {
'container/rm', 'container/rm',
], ],
}, },
{
title: "Docker 仓库",
collapsable: false,
children: [
'repository/',
'repository/dockerhub',
'repository/registry',
'repository/registry_auth',
'repository/nexus3_registry',
],
},
{ {
title: "数据管理", title: "数据管理",
collapsable: false, collapsable: false,
@ -323,6 +321,19 @@ module.exports = {
'security/summary', 'security/summary',
], ],
}, },
{
title: "底层实现",
collapsable: false,
children: [
'underly/',
'underly/arch',
'underly/namespace',
'underly/cgroups',
'underly/ufs',
'underly/container_format',
'underly/network',
],
},
{ {
title: "Docker Buildx", title: "Docker Buildx",
collapsable: false, collapsable: false,
@ -353,14 +364,6 @@ module.exports = {
'coreos/install', 'coreos/install',
], ],
}, },
{
title: "Docker 开源项目",
collapsable: false,
children: [
'opensource/',
'opensource/linuxkit',
],
},
'podman/', 'podman/',
'appendix/faq/', 'appendix/faq/',
{ {

View File

@ -147,8 +147,6 @@
* [Travis CI](cases/ci/travis/README.md) * [Travis CI](cases/ci/travis/README.md)
* [ IDE 使 Docker](ide/README.md) * [ IDE 使 Docker](ide/README.md)
* [VS Code](ide/vsCode.md) * [VS Code](ide/vsCode.md)
* [Docker ](opensource/README.md)
* [LinuxKit](opensource/linuxkit.md)
* [podman - Linux ](podman/README.md) * [podman - Linux ](podman/README.md)
* [](appendix/README.md) * [](appendix/README.md)
* [](appendix/faq/README.md) * [](appendix/faq/README.md)

View File

@ -1,6 +1,6 @@
# Fedora CoreOS # Fedora CoreOS
`CoreOS` Fedora Fedora Atomic Host CoreOS Container Linux `CoreOS` Fedora Fedora Atomic Host CoreOS Container Linux
`CoreOS` Linux 使 Linux `yum` `apt` `CoreOS` Linux 使 Linux `yum` `apt`

View File

@ -32,3 +32,5 @@ COPY --chown=bin files* /mydir/
COPY --chown=1 files* /mydir/ COPY --chown=1 files* /mydir/
COPY --chown=10:11 files* /mydir/ COPY --chown=10:11 files* /mydir/
``` ```

View File

@ -18,7 +18,7 @@ RUN [ "redis-server" ]
# redis 使 gosu # redis 使 gosu
RUN groupadd -r redis && useradd -r -g redis redis RUN groupadd -r redis && useradd -r -g redis redis
# gosu # gosu
RUN wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/1.7/gosu-amd64" \ RUN wget -O /usr/local/bin/gosu "https://github.com/tianon/gosu/releases/download/1.12/gosu-amd64" \
&& chmod +x /usr/local/bin/gosu \ && chmod +x /usr/local/bin/gosu \
&& gosu nobody true && gosu nobody true
# CMD # CMD