Merge pull request #14589 from spowelljr/toolTip

Update docker-env description and add tooltip
pull/14599/head
Steven Powell 2022-07-15 13:38:46 -07:00 committed by GitHub
commit a2a814fa8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 36 additions and 13 deletions

View File

@ -240,8 +240,13 @@ func waitForAPIServerProcess(cr command.Runner, start time.Time, timeout time.Du
// dockerEnvCmd represents the docker-env command
var dockerEnvCmd = &cobra.Command{
Use: "docker-env",
Short: "Configure environment to use minikube's Docker daemon",
Long: `Sets up docker env variables; similar to '$(docker-machine env)'.`,
Short: "Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)",
Long: `Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)
For example, you can do all docker operations such as docker build, docker run, and docker ps directly on the docker inside minikube.
Note: You need the docker-cli to be installed on your machine.
docker-cli install instructions: https://minikube.sigs.k8s.io/docs/tutorials/docker_desktop_replacement/#steps`,
Run: func(cmd *cobra.Command, args []string) {
var err error

View File

@ -12,6 +12,9 @@ BasicView::BasicView()
deleteButton = new QPushButton(tr("Delete"));
refreshButton = new QPushButton(tr("Refresh"));
dockerEnvButton = new QPushButton(tr("docker-env"));
dockerEnvButton->setToolTip(
"Opens a terminal where the docker-cli points to docker engine inside "
"minikube\n(Useful for building docker images directly inside minikube)");
sshButton = new QPushButton(tr("SSH"));
dashboardButton = new QPushButton(tr("Dashboard"));
advancedButton = new QPushButton(tr("Advanced View"));

View File

@ -1,17 +1,22 @@
---
title: "docker-env"
description: >
Configure environment to use minikube's Docker daemon
Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)
---
## minikube docker-env
Configure environment to use minikube's Docker daemon
Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)
### Synopsis
Sets up docker env variables; similar to '$(docker-machine env)'.
Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)
For example, you can do all docker operations such as docker build, docker run, and docker ps directly on the docker inside minikube.
Note: You need the docker-cli to be installed on your machine.
docker-cli install instructions: https://minikube.sigs.k8s.io/docs/tutorials/docker_desktop_replacement/#steps
```shell
minikube docker-env [flags]

View File

@ -503,6 +503,8 @@
"Profile name '{{.profilename}}' is not valid": "Der Profilename '{{.profilename}}' ist nicht valide",
"Profile name should be unique": "Der Profilname sollte einzigartig sein",
"Provide VM UUID to restore MAC address (hyperkit driver only)": "Geben Sie die VM-UUID an, um die MAC-Adresse wiederherzustellen (nur Hyperkit-Treiber)",
"Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)": "",
"Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)\n\nFor example, you can do all docker operations such as docker build, docker run, and docker ps directly on the docker inside minikube.\n\nNote: You need the docker-cli to be installed on your machine.\ndocker-cli install instructions: https://minikube.sigs.k8s.io/docs/tutorials/docker_desktop_replacement/#steps": "",
"Pull images": "Ziehe (pull) Images",
"Pull the remote image (no caching)": "Ziehe (pull) das Remote Image (kein Caching)",
"Pulling base image ...": "Ziehe das Base Image ...",

View File

@ -510,6 +510,8 @@
"Profile name '{{.profilename}}' is not valid": "",
"Profile name should be unique": "",
"Provide VM UUID to restore MAC address (hyperkit driver only)": "Permite especificar un UUID de VM para restaurar la dirección MAC (solo con el controlador de hyperkit)",
"Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)": "",
"Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)\n\nFor example, you can do all docker operations such as docker build, docker run, and docker ps directly on the docker inside minikube.\n\nNote: You need the docker-cli to be installed on your machine.\ndocker-cli install instructions: https://minikube.sigs.k8s.io/docs/tutorials/docker_desktop_replacement/#steps": "",
"Pull images": "",
"Pull the remote image (no caching)": "",
"Pulling base image ...": "",
@ -583,7 +585,6 @@
"Set this flag to delete the '.minikube' folder from your user directory.": "",
"Sets an individual value in a minikube config file": "",
"Sets the PROPERTY_NAME config value to PROPERTY_VALUE\n\tThese values can be overwritten by flags or environment variables at runtime.": "",
"Sets up docker env variables; similar to '$(docker-machine env)'.": "",
"Sets up podman env variables; similar to '$(podman-machine env)'.": "",
"Setting profile failed": "",
"Show a list of global command-line options (applies to all commands).": "",

View File

@ -491,6 +491,8 @@
"Profile name '{{.profilename}}' is not valid": "Le nom de profil '{{.profilename}}' n'est pas valide",
"Profile name should be unique": "Le nom du profil doit être unique",
"Provide VM UUID to restore MAC address (hyperkit driver only)": "Fournit l'identifiant unique universel (UUID) de la VM pour restaurer l'adresse MAC (pilote hyperkit uniquement).",
"Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)": "",
"Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)\n\nFor example, you can do all docker operations such as docker build, docker run, and docker ps directly on the docker inside minikube.\n\nNote: You need the docker-cli to be installed on your machine.\ndocker-cli install instructions: https://minikube.sigs.k8s.io/docs/tutorials/docker_desktop_replacement/#steps": "",
"Pull images": "Extraction des images",
"Pull the remote image (no caching)": "Extraire l'image distante (pas de mise en cache)",
"Pulling base image ...": "Extraction de l'image de base...",

View File

@ -502,6 +502,8 @@
"Profile name '{{.profilename}}' is not valid": "プロファイル名 '{{.profilename}}' は無効です",
"Profile name should be unique": "プロファイル名は単一でなければなりません",
"Provide VM UUID to restore MAC address (hyperkit driver only)": "MAC アドレスを復元するための VM UUID を指定します (hyperkit ドライバーのみ)",
"Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)": "",
"Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)\n\nFor example, you can do all docker operations such as docker build, docker run, and docker ps directly on the docker inside minikube.\n\nNote: You need the docker-cli to be installed on your machine.\ndocker-cli install instructions: https://minikube.sigs.k8s.io/docs/tutorials/docker_desktop_replacement/#steps": "",
"Pull images": "イメージを取得します",
"Pull the remote image (no caching)": "リモートイメージを取得します (キャッシュなし)",
"Pulling base image ...": "ベースイメージを取得しています...",

View File

@ -112,7 +112,6 @@
"Configuration and Management Commands:": "환경 설정 및 관리 명령어:",
"Configure a default route on this Linux host, or use another --driver that does not require it": "",
"Configure an external network switch following the official documentation, then add `--hyperv-virtual-switch=\u003cswitch-name\u003e` to `minikube start`": "",
"Configure environment to use minikube's Docker daemon": "",
"Configure environment to use minikube's Podman service": "",
"Configures the addon w/ADDON_NAME within minikube (example: minikube addons configure registry-creds). For a list of available addons use: minikube addons list": "",
"Configuring RBAC rules ...": "RBAC 규칙을 구성하는 중 ...",
@ -524,6 +523,8 @@
"Profile name '{{.profilename}}' is not valid": "",
"Profile name should be unique": "",
"Provide VM UUID to restore MAC address (hyperkit driver only)": "",
"Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)": "",
"Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)\n\nFor example, you can do all docker operations such as docker build, docker run, and docker ps directly on the docker inside minikube.\n\nNote: You need the docker-cli to be installed on your machine.\ndocker-cli install instructions: https://minikube.sigs.k8s.io/docs/tutorials/docker_desktop_replacement/#steps": "",
"Pull images": "",
"Pull the remote image (no caching)": "",
"Pulling base image ...": "베이스 이미지를 다운받는 중 ...",
@ -595,7 +596,6 @@
"Set this flag to delete the '.minikube' folder from your user directory.": "",
"Sets an individual value in a minikube config file": "",
"Sets the PROPERTY_NAME config value to PROPERTY_VALUE\n\tThese values can be overwritten by flags or environment variables at runtime.": "",
"Sets up docker env variables; similar to '$(docker-machine env)'.": "",
"Sets up podman env variables; similar to '$(podman-machine env)'.": "",
"Setting profile failed": "프로필 설정이 실패하였습니다",
"Show a list of global command-line options (applies to all commands).": "",

View File

@ -108,7 +108,6 @@
"Configuration and Management Commands:": "Polecenia konfiguracji i zarządzania",
"Configure a default route on this Linux host, or use another --driver that does not require it": "",
"Configure an external network switch following the official documentation, then add `--hyperv-virtual-switch=\u003cswitch-name\u003e` to `minikube start`": "",
"Configure environment to use minikube's Docker daemon": "",
"Configure environment to use minikube's Podman service": "",
"Configures the addon w/ADDON_NAME within minikube (example: minikube addons configure registry-creds). For a list of available addons use: minikube addons list": "",
"Configuring RBAC rules ...": "Konfigurowanie zasad RBAC ...",
@ -522,6 +521,8 @@
"Profile name '{{.profilename}}' is not valid": "",
"Profile name should be unique": "",
"Provide VM UUID to restore MAC address (hyperkit driver only)": "",
"Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)": "",
"Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)\n\nFor example, you can do all docker operations such as docker build, docker run, and docker ps directly on the docker inside minikube.\n\nNote: You need the docker-cli to be installed on your machine.\ndocker-cli install instructions: https://minikube.sigs.k8s.io/docs/tutorials/docker_desktop_replacement/#steps": "",
"Pull images": "",
"Pull the remote image (no caching)": "",
"Pulling base image ...": "",

View File

@ -99,7 +99,6 @@
"Configuration and Management Commands:": "",
"Configure a default route on this Linux host, or use another --driver that does not require it": "",
"Configure an external network switch following the official documentation, then add `--hyperv-virtual-switch=\u003cswitch-name\u003e` to `minikube start`": "",
"Configure environment to use minikube's Docker daemon": "",
"Configure environment to use minikube's Podman service": "",
"Configures the addon w/ADDON_NAME within minikube (example: minikube addons configure registry-creds). For a list of available addons use: minikube addons list": "",
"Configuring RBAC rules ...": "",
@ -474,6 +473,8 @@
"Profile name '{{.profilename}}' is not valid": "",
"Profile name should be unique": "",
"Provide VM UUID to restore MAC address (hyperkit driver only)": "",
"Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)": "",
"Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)\n\nFor example, you can do all docker operations such as docker build, docker run, and docker ps directly on the docker inside minikube.\n\nNote: You need the docker-cli to be installed on your machine.\ndocker-cli install instructions: https://minikube.sigs.k8s.io/docs/tutorials/docker_desktop_replacement/#steps": "",
"Pull images": "",
"Pull the remote image (no caching)": "",
"Pulling base image ...": "Скачивается базовый образ ...",
@ -543,7 +544,6 @@
"Set this flag to delete the '.minikube' folder from your user directory.": "",
"Sets an individual value in a minikube config file": "",
"Sets the PROPERTY_NAME config value to PROPERTY_VALUE\n\tThese values can be overwritten by flags or environment variables at runtime.": "",
"Sets up docker env variables; similar to '$(docker-machine env)'.": "",
"Sets up podman env variables; similar to '$(podman-machine env)'.": "",
"Setting profile failed": "",
"Show a list of global command-line options (applies to all commands).": "",

View File

@ -99,7 +99,6 @@
"Configuration and Management Commands:": "",
"Configure a default route on this Linux host, or use another --driver that does not require it": "",
"Configure an external network switch following the official documentation, then add `--hyperv-virtual-switch=\u003cswitch-name\u003e` to `minikube start`": "",
"Configure environment to use minikube's Docker daemon": "",
"Configure environment to use minikube's Podman service": "",
"Configures the addon w/ADDON_NAME within minikube (example: minikube addons configure registry-creds). For a list of available addons use: minikube addons list": "",
"Configuring RBAC rules ...": "",
@ -474,6 +473,8 @@
"Profile name '{{.profilename}}' is not valid": "",
"Profile name should be unique": "",
"Provide VM UUID to restore MAC address (hyperkit driver only)": "",
"Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)": "",
"Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)\n\nFor example, you can do all docker operations such as docker build, docker run, and docker ps directly on the docker inside minikube.\n\nNote: You need the docker-cli to be installed on your machine.\ndocker-cli install instructions: https://minikube.sigs.k8s.io/docs/tutorials/docker_desktop_replacement/#steps": "",
"Pull images": "",
"Pull the remote image (no caching)": "",
"Pulling base image ...": "",
@ -543,7 +544,6 @@
"Set this flag to delete the '.minikube' folder from your user directory.": "",
"Sets an individual value in a minikube config file": "",
"Sets the PROPERTY_NAME config value to PROPERTY_VALUE\n\tThese values can be overwritten by flags or environment variables at runtime.": "",
"Sets up docker env variables; similar to '$(docker-machine env)'.": "",
"Sets up podman env variables; similar to '$(podman-machine env)'.": "",
"Setting profile failed": "",
"Show a list of global command-line options (applies to all commands).": "",

View File

@ -595,6 +595,8 @@
"Profile name '{{.profilename}}' is not valid": "",
"Profile name should be unique": "",
"Provide VM UUID to restore MAC address (hyperkit driver only)": "提供虚拟机 UUID 以恢复 MAC 地址(仅限 hyperkit 驱动程序)",
"Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)": "",
"Provides instructions to point your terminal's docker-cli to the Docker Engine inside minikube. (Useful for building docker images directly inside minikube)\n\nFor example, you can do all docker operations such as docker build, docker run, and docker ps directly on the docker inside minikube.\n\nNote: You need the docker-cli to be installed on your machine.\ndocker-cli install instructions: https://minikube.sigs.k8s.io/docs/tutorials/docker_desktop_replacement/#steps": "",
"Pull images": "",
"Pull the remote image (no caching)": "",
"Pulling base image ...": "",