From ae12a2e39a12caf90926923cd52de49e18db2e86 Mon Sep 17 00:00:00 2001 From: Hang Yan Date: Wed, 1 Jan 2020 11:27:11 +0800 Subject: [PATCH] Update doc about push image (#1225) --- docs/user-guide.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/user-guide.md b/docs/user-guide.md index 52de3c0b..7198bda6 100644 --- a/docs/user-guide.md +++ b/docs/user-guide.md @@ -191,6 +191,8 @@ Kompose supports both building and pushing Docker images. When using the `build` - Automatically be built with Docker using the `image` key specified within your file - Be pushed to the correct Docker repository using local credentials (located at `.docker/config`) + +If you do not want to push the image you have built, you and use the `--push-image=false` flag to disable it. Using an [example Docker Compose file](https://raw.githubusercontent.com/kubernetes/kompose/master/examples/buildconfig/docker-compose.yml):