diff --git a/web/console/src/modules/registry/components/apikey/ApiKeyTablePanel.tsx b/web/console/src/modules/registry/components/apikey/ApiKeyTablePanel.tsx index d0b29f8d5..705c4a581 100644 --- a/web/console/src/modules/registry/components/apikey/ApiKeyTablePanel.tsx +++ b/web/console/src/modules/registry/components/apikey/ApiKeyTablePanel.tsx @@ -285,7 +285,7 @@ export class ApiKeyTablePanel extends React.Component { 复制 -

{`sudo tag nginx:latest ${this.props.dockerRegistryUrl.data}/[命名空间]/nginx:latest`}

+

{`sudo nerdctl tag nginx:latest ${this.props.dockerRegistryUrl.data}/[命名空间]/nginx:latest`}


diff --git a/web/console/src/modules/registry/components/repo/ImageTablePanel.tsx b/web/console/src/modules/registry/components/repo/ImageTablePanel.tsx index 874daabd4..20d89dcb7 100644 --- a/web/console/src/modules/registry/components/repo/ImageTablePanel.tsx +++ b/web/console/src/modules/registry/components/repo/ImageTablePanel.tsx @@ -228,7 +228,7 @@ export class ImageTablePanel extends React.Component { 复制 -

{`sudo docker login -u tkestack -p [访问凭证] ${this.props.dockerRegistryUrl.data}`}

+

{`sudo nerdctl --insecure-registry login -u tkestack -p [访问凭证] ${this.props.dockerRegistryUrl.data}`}

@@ -254,7 +254,7 @@ export class ImageTablePanel extends React.Component { 复制 -

{`sudo docker pull ${this.props.dockerRegistryUrl.data}/${this.props.route.queries['nsName']}/nginx:latest`}

+

{`sudo nerdctl --insecure-registry pull ${this.props.dockerRegistryUrl.data}/${this.props.route.queries['nsName']}/nginx:latest`}

{t('以拉取 {{namespace}} 命名空间下名为 nginx 的镜像仓库内版本为 latest 的容器镜像为例', { @@ -272,14 +272,14 @@ export class ImageTablePanel extends React.Component { 复制 -

{`sudo docker tag nginx:latest ${this.props.dockerRegistryUrl.data}/${this.props.route.queries['nsName']}/nginx:latest`}

+

{`sudo nerdctl tag nginx:latest ${this.props.dockerRegistryUrl.data}/${this.props.route.queries['nsName']}/nginx:latest`}


复制 -

{`sudo docker push ${this.props.dockerRegistryUrl.data}/${this.props.route.queries['nsName']}/nginx:latest`}

+

{`sudo nerdctl --insecure-registry push ${this.props.dockerRegistryUrl.data}/${this.props.route.queries['nsName']}/nginx:latest`}