Record -
docker
: DockerConfiguration
Docker annotation configuration.
Fields
- registry string
-
Docker registry url.
- name string
-
Name of the docker image. Default value is the file name of the generated balx file.
- tag string
-
Docker image tag. Default value is
"latest"
.
- username string
-
Username for docker registry.
- password string
-
Password for docker registry.
- baseImage string
-
Base image to create the docker image. Default value is
"ballerina/ballerina-runtime:<BALLERINA_VERSION>"
. Use"ballerina/ballerina-runtime:latest"
to use the latest stable ballerina runtime docker image.
- buildImage boolean true
-
Enable building docker image. Default value is
true
.
- push boolean false
-
Enable pushing docker image to registry. Field
buildImage
must be set totrue
to be effective. Default value isfalse
.
- enableDebug boolean false
-
Enable ballerina debug. Default is
false
.
- debugPort int 5005
-
Ballerina remote debug port. Default is
5005
.
- dockerAPIVersion string
-
Docker API version.
- dockerHost string
-
Docker host IP and docker PORT. ( e.g minikube IP and docker PORT). Default is to use DOCKER_HOST environment variable. If DOCKER_HOST is unavailable, use
"unix:///var/run/docker.sock"
for Unix or use"npipe:////./pipe/docker_engine"
for Windows 10 or use"localhost:2375"
.
- dockerCertPath string
-
Docker certificate path. Default is to use
"DOCKER_CERT_PATH"
environment variable.