Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
images
sample1
sample2
sample3
sample4
sample5
sample6
sample7
README.md
test_sample.sh

README.md

Docker Annotation examples

Prerequisites:

@docker:Config {
    dockerHost:"tcp://192.168.99.100:2376", 
    dockerCertPath:"/Users/anuruddha/.minikube/certs"
}  
  • If DOCKER_HOST and DOCKER_CERT_PATH are exported as environment variables, priority will be given to environment variables.
  • Docker for windows users should enable remote access to the API. alt tag

Try docker annotation examples:

  1. Example1: Docker Hello World
  2. Example2: Change docker image's tag and registry with annotations
  3. Example3: Push docker image to docker registry
  4. Example4: Remote debug ballerina service with docker
  5. Example5: Copy files to Docker image
  6. Example6: Multiple modules with docker annotation
  7. Example7: Run ballerina service in http and https with docker
You can’t perform that action at this time.