diff --git a/cmd/minikube/cmd/docker-env.go b/cmd/minikube/cmd/docker-env.go index 9f41275188..2c436b44ec 100644 --- a/cmd/minikube/cmd/docker-env.go +++ b/cmd/minikube/cmd/docker-env.go @@ -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 diff --git a/gui/basicview.cpp b/gui/basicview.cpp index 8d19ec9d97..52ba216289 100644 --- a/gui/basicview.cpp +++ b/gui/basicview.cpp @@ -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")); diff --git a/site/content/en/docs/commands/docker-env.md b/site/content/en/docs/commands/docker-env.md index 30bcbc8439..ae4b2761f0 100644 --- a/site/content/en/docs/commands/docker-env.md +++ b/site/content/en/docs/commands/docker-env.md @@ -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] diff --git a/translations/de.json b/translations/de.json index a0f9dd0e4f..63e9480373 100644 --- a/translations/de.json +++ b/translations/de.json @@ -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 ...", diff --git a/translations/es.json b/translations/es.json index 5297b5d5ce..349105c1de 100644 --- a/translations/es.json +++ b/translations/es.json @@ -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).": "", diff --git a/translations/fr.json b/translations/fr.json index de76b6f707..316168ffcc 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -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...", diff --git a/translations/ja.json b/translations/ja.json index 5db6b3a159..561fa9f5c8 100644 --- a/translations/ja.json +++ b/translations/ja.json @@ -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 ...": "ベースイメージを取得しています...", diff --git a/translations/ko.json b/translations/ko.json index 1b509b4b27..cc845f8b60 100644 --- a/translations/ko.json +++ b/translations/ko.json @@ -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).": "", diff --git a/translations/pl.json b/translations/pl.json index 40adb66a56..f3fb9ad605 100644 --- a/translations/pl.json +++ b/translations/pl.json @@ -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 ...": "", diff --git a/translations/ru.json b/translations/ru.json index 34574d34f3..5b7205cad2 100644 --- a/translations/ru.json +++ b/translations/ru.json @@ -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).": "", diff --git a/translations/strings.txt b/translations/strings.txt index 105009aa82..4d08f8763e 100644 --- a/translations/strings.txt +++ b/translations/strings.txt @@ -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).": "", diff --git a/translations/zh-CN.json b/translations/zh-CN.json index 239bb13863..365b11927f 100644 --- a/translations/zh-CN.json +++ b/translations/zh-CN.json @@ -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 ...": "",