image

Manage images

minikube image

Manage images

Synopsis

Manage images

Options inherited from parent commands

  1. --add_dir_header If true, adds the file directory to the header of the log messages
  2. --alsologtostderr log to standard error as well as files
  3. -b, --bootstrapper string The name of the cluster bootstrapper that will set up the Kubernetes cluster. (default "kubeadm")
  4. -h, --help
  5. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
  6. --log_dir string If non-empty, write log files in this directory
  7. --log_file string If non-empty, use this log file
  8. --log_file_max_size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
  9. --logtostderr log to standard error instead of files
  10. --one_output If true, only write logs to their native severity level (vs also writing to each lower severity level)
  11. -p, --profile string The name of the minikube VM being used. This can be set to allow having multiple instances of minikube independently. (default "minikube")
  12. --skip_headers If true, avoid header prefixes in the log messages
  13. --skip_log_headers If true, avoid headers when opening log files
  14. --stderrthreshold severity logs at or above this threshold go to stderr (default 2)
  15. --user string Specifies the user executing the operation. Useful for auditing operations executed by 3rd party tools. Defaults to the operating system username.
  16. -v, --v Level number for the log level verbosity
  17. --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging

minikube image build

Build a container image in minikube

Synopsis

Build a container image, using the container runtime.

  1. minikube image build PATH | URL | - [flags]

Examples

  1. minikube image build .

Options

  1. --all Build image on all nodes.
  2. --build-env stringArray Environment variables to pass to the build. (format: key=value)
  3. --build-opt stringArray Specify arbitrary flags to pass to the build. (format: key=value)
  4. -f, --file string Path to the Dockerfile to use (optional)
  5. -n, --node string The node to build on. Defaults to the primary control plane.
  6. --push Push the new image (requires tag)
  7. -t, --tag string Tag to apply to the new image (optional)

Options inherited from parent commands

  1. --add_dir_header If true, adds the file directory to the header of the log messages
  2. --alsologtostderr log to standard error as well as files
  3. -b, --bootstrapper string The name of the cluster bootstrapper that will set up the Kubernetes cluster. (default "kubeadm")
  4. -h, --help
  5. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
  6. --log_dir string If non-empty, write log files in this directory
  7. --log_file string If non-empty, use this log file
  8. --log_file_max_size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
  9. --logtostderr log to standard error instead of files
  10. --one_output If true, only write logs to their native severity level (vs also writing to each lower severity level)
  11. -p, --profile string The name of the minikube VM being used. This can be set to allow having multiple instances of minikube independently. (default "minikube")
  12. --skip_headers If true, avoid header prefixes in the log messages
  13. --skip_log_headers If true, avoid headers when opening log files
  14. --stderrthreshold severity logs at or above this threshold go to stderr (default 2)
  15. --user string Specifies the user executing the operation. Useful for auditing operations executed by 3rd party tools. Defaults to the operating system username.
  16. -v, --v Level number for the log level verbosity
  17. --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging

minikube image help

Help about any command

Synopsis

Help provides help for any command in the application. Simply type image help [path to command] for full details.

  1. minikube image help [command] [flags]

Options inherited from parent commands

  1. --add_dir_header If true, adds the file directory to the header of the log messages
  2. --alsologtostderr log to standard error as well as files
  3. -b, --bootstrapper string The name of the cluster bootstrapper that will set up the Kubernetes cluster. (default "kubeadm")
  4. -h, --help
  5. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
  6. --log_dir string If non-empty, write log files in this directory
  7. --log_file string If non-empty, use this log file
  8. --log_file_max_size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
  9. --logtostderr log to standard error instead of files
  10. --one_output If true, only write logs to their native severity level (vs also writing to each lower severity level)
  11. -p, --profile string The name of the minikube VM being used. This can be set to allow having multiple instances of minikube independently. (default "minikube")
  12. --skip_headers If true, avoid header prefixes in the log messages
  13. --skip_log_headers If true, avoid headers when opening log files
  14. --stderrthreshold severity logs at or above this threshold go to stderr (default 2)
  15. --user string Specifies the user executing the operation. Useful for auditing operations executed by 3rd party tools. Defaults to the operating system username.
  16. -v, --v Level number for the log level verbosity
  17. --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging

minikube image load

Load a image into minikube

Synopsis

Load a image into minikube

  1. minikube image load IMAGE | ARCHIVE | - [flags]

Examples

  1. minikube image load image
  2. minikube image load image.tar

Options

  1. --daemon Cache image from docker daemon
  2. --overwrite Overwrite image even if same image:tag name exists (default true)
  3. --pull Pull the remote image (no caching)
  4. --remote Cache image from remote registry

Options inherited from parent commands

  1. --add_dir_header If true, adds the file directory to the header of the log messages
  2. --alsologtostderr log to standard error as well as files
  3. -b, --bootstrapper string The name of the cluster bootstrapper that will set up the Kubernetes cluster. (default "kubeadm")
  4. -h, --help
  5. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
  6. --log_dir string If non-empty, write log files in this directory
  7. --log_file string If non-empty, use this log file
  8. --log_file_max_size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
  9. --logtostderr log to standard error instead of files
  10. --one_output If true, only write logs to their native severity level (vs also writing to each lower severity level)
  11. -p, --profile string The name of the minikube VM being used. This can be set to allow having multiple instances of minikube independently. (default "minikube")
  12. --skip_headers If true, avoid header prefixes in the log messages
  13. --skip_log_headers If true, avoid headers when opening log files
  14. --stderrthreshold severity logs at or above this threshold go to stderr (default 2)
  15. --user string Specifies the user executing the operation. Useful for auditing operations executed by 3rd party tools. Defaults to the operating system username.
  16. -v, --v Level number for the log level verbosity
  17. --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging

minikube image ls

List images

Synopsis

List images

  1. minikube image ls [flags]

Aliases

[list]

Examples

  1. $ minikube image ls

Options inherited from parent commands

  1. --add_dir_header If true, adds the file directory to the header of the log messages
  2. --alsologtostderr log to standard error as well as files
  3. -b, --bootstrapper string The name of the cluster bootstrapper that will set up the Kubernetes cluster. (default "kubeadm")
  4. -h, --help
  5. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
  6. --log_dir string If non-empty, write log files in this directory
  7. --log_file string If non-empty, use this log file
  8. --log_file_max_size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
  9. --logtostderr log to standard error instead of files
  10. --one_output If true, only write logs to their native severity level (vs also writing to each lower severity level)
  11. -p, --profile string The name of the minikube VM being used. This can be set to allow having multiple instances of minikube independently. (default "minikube")
  12. --skip_headers If true, avoid header prefixes in the log messages
  13. --skip_log_headers If true, avoid headers when opening log files
  14. --stderrthreshold severity logs at or above this threshold go to stderr (default 2)
  15. --user string Specifies the user executing the operation. Useful for auditing operations executed by 3rd party tools. Defaults to the operating system username.
  16. -v, --v Level number for the log level verbosity
  17. --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging

minikube image pull

Pull images

Synopsis

Pull images

  1. minikube image pull [flags]

Examples

  1. $ minikube image pull busybox

Options inherited from parent commands

  1. --add_dir_header If true, adds the file directory to the header of the log messages
  2. --alsologtostderr log to standard error as well as files
  3. -b, --bootstrapper string The name of the cluster bootstrapper that will set up the Kubernetes cluster. (default "kubeadm")
  4. -h, --help
  5. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
  6. --log_dir string If non-empty, write log files in this directory
  7. --log_file string If non-empty, use this log file
  8. --log_file_max_size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
  9. --logtostderr log to standard error instead of files
  10. --one_output If true, only write logs to their native severity level (vs also writing to each lower severity level)
  11. -p, --profile string The name of the minikube VM being used. This can be set to allow having multiple instances of minikube independently. (default "minikube")
  12. --skip_headers If true, avoid header prefixes in the log messages
  13. --skip_log_headers If true, avoid headers when opening log files
  14. --stderrthreshold severity logs at or above this threshold go to stderr (default 2)
  15. --user string Specifies the user executing the operation. Useful for auditing operations executed by 3rd party tools. Defaults to the operating system username.
  16. -v, --v Level number for the log level verbosity
  17. --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging

minikube image push

Push images

Synopsis

Push images

  1. minikube image push [flags]

Examples

  1. $ minikube image push busybox

Options inherited from parent commands

  1. --add_dir_header If true, adds the file directory to the header of the log messages
  2. --alsologtostderr log to standard error as well as files
  3. -b, --bootstrapper string The name of the cluster bootstrapper that will set up the Kubernetes cluster. (default "kubeadm")
  4. -h, --help
  5. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
  6. --log_dir string If non-empty, write log files in this directory
  7. --log_file string If non-empty, use this log file
  8. --log_file_max_size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
  9. --logtostderr log to standard error instead of files
  10. --one_output If true, only write logs to their native severity level (vs also writing to each lower severity level)
  11. -p, --profile string The name of the minikube VM being used. This can be set to allow having multiple instances of minikube independently. (default "minikube")
  12. --skip_headers If true, avoid header prefixes in the log messages
  13. --skip_log_headers If true, avoid headers when opening log files
  14. --stderrthreshold severity logs at or above this threshold go to stderr (default 2)
  15. --user string Specifies the user executing the operation. Useful for auditing operations executed by 3rd party tools. Defaults to the operating system username.
  16. -v, --v Level number for the log level verbosity
  17. --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging

minikube image rm

Remove one or more images

Synopsis

Remove one or more images

  1. minikube image rm IMAGE [IMAGE...] [flags]

Aliases

[remove unload]

Examples

  1. $ minikube image rm image busybox
  2. $ minikube image unload image busybox

Options inherited from parent commands

  1. --add_dir_header If true, adds the file directory to the header of the log messages
  2. --alsologtostderr log to standard error as well as files
  3. -b, --bootstrapper string The name of the cluster bootstrapper that will set up the Kubernetes cluster. (default "kubeadm")
  4. -h, --help
  5. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
  6. --log_dir string If non-empty, write log files in this directory
  7. --log_file string If non-empty, use this log file
  8. --log_file_max_size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
  9. --logtostderr log to standard error instead of files
  10. --one_output If true, only write logs to their native severity level (vs also writing to each lower severity level)
  11. -p, --profile string The name of the minikube VM being used. This can be set to allow having multiple instances of minikube independently. (default "minikube")
  12. --skip_headers If true, avoid header prefixes in the log messages
  13. --skip_log_headers If true, avoid headers when opening log files
  14. --stderrthreshold severity logs at or above this threshold go to stderr (default 2)
  15. --user string Specifies the user executing the operation. Useful for auditing operations executed by 3rd party tools. Defaults to the operating system username.
  16. -v, --v Level number for the log level verbosity
  17. --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging

minikube image save

Save a image from minikube

Synopsis

Save a image from minikube

  1. minikube image save IMAGE [ARCHIVE | -] [flags]

Examples

  1. minikube image save image
  2. minikube image save image image.tar

Options

  1. --daemon Cache image to docker daemon
  2. --remote Cache image to remote registry

Options inherited from parent commands

  1. --add_dir_header If true, adds the file directory to the header of the log messages
  2. --alsologtostderr log to standard error as well as files
  3. -b, --bootstrapper string The name of the cluster bootstrapper that will set up the Kubernetes cluster. (default "kubeadm")
  4. -h, --help
  5. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
  6. --log_dir string If non-empty, write log files in this directory
  7. --log_file string If non-empty, use this log file
  8. --log_file_max_size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
  9. --logtostderr log to standard error instead of files
  10. --one_output If true, only write logs to their native severity level (vs also writing to each lower severity level)
  11. -p, --profile string The name of the minikube VM being used. This can be set to allow having multiple instances of minikube independently. (default "minikube")
  12. --skip_headers If true, avoid header prefixes in the log messages
  13. --skip_log_headers If true, avoid headers when opening log files
  14. --stderrthreshold severity logs at or above this threshold go to stderr (default 2)
  15. --user string Specifies the user executing the operation. Useful for auditing operations executed by 3rd party tools. Defaults to the operating system username.
  16. -v, --v Level number for the log level verbosity
  17. --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging

minikube image tag

Tag images

Synopsis

Tag images

  1. minikube image tag [flags]

Aliases

[list]

Examples

  1. $ minikube image tag source target

Options inherited from parent commands

  1. --add_dir_header If true, adds the file directory to the header of the log messages
  2. --alsologtostderr log to standard error as well as files
  3. -b, --bootstrapper string The name of the cluster bootstrapper that will set up the Kubernetes cluster. (default "kubeadm")
  4. -h, --help
  5. --log_backtrace_at traceLocation when logging hits line file:N, emit a stack trace (default :0)
  6. --log_dir string If non-empty, write log files in this directory
  7. --log_file string If non-empty, use this log file
  8. --log_file_max_size uint Defines the maximum size a log file can grow to. Unit is megabytes. If the value is 0, the maximum file size is unlimited. (default 1800)
  9. --logtostderr log to standard error instead of files
  10. --one_output If true, only write logs to their native severity level (vs also writing to each lower severity level)
  11. -p, --profile string The name of the minikube VM being used. This can be set to allow having multiple instances of minikube independently. (default "minikube")
  12. --skip_headers If true, avoid header prefixes in the log messages
  13. --skip_log_headers If true, avoid headers when opening log files
  14. --stderrthreshold severity logs at or above this threshold go to stderr (default 2)
  15. --user string Specifies the user executing the operation. Useful for auditing operations executed by 3rd party tools. Defaults to the operating system username.
  16. -v, --v Level number for the log level verbosity
  17. --vmodule moduleSpec comma-separated list of pattern=N settings for file-filtered logging

Last modified August 22, 2021: Add also stand-alone image push matching pull (817f8b4b7)