Docker for Mac - Kubernetes - reference local image

后端 未结 3 901
迷失自我
迷失自我 2020-12-29 19:25

I am using Docker for Mac with Kubernetes support and I\'m struggling to create a Kubernetes Deployment that references a locally built image.

Output of docker

3条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-29 20:10

    Use tagged version of image rather than latest because If you are shipping Docker images to a production environment, you should just ignore the latest tag. Don’t use it. Don’t be tempted by it. It’s easy to look at it and think that your deployment script should just pull “latest” and your build process will ensure that’s valid.

提交回复
热议问题