1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Minikube内にDockerイメージを用意する

Posted at

DockerイメージをビルドしてMinikubeから利用できるようにする。

$ eval $(minikube docker-env)
$ env | grep DOCKER
DOCKER_HOST=tcp://192.168.XXX.XXX:2376
DOCKER_TLS_VERIFY=1
DOCKER_CERT_PATH=/home/[ユーザ]/.minikube/certs

このMinikube内のDockerを参照している状態でDockerイメージをビルドすればよい。

元の状態に戻すには、

$ eval $(minikube docker-env -u).

で環境を元に戻す。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?