Quickstart Docker images for Web App for Containers
Перейти к файлу
jennylawrance 9d891cfda0 more tuning 2020-07-22 00:04:07 +00:00
.github quick start docker images 2018-02-02 12:29:39 -08:00
alpine-php-mysql Upgrade alpine to 3.8, upgrade php to 7.2.8, update readme. 2018-08-14 11:10:30 +08:00
apache-php-mysql/0.5 re-tag apache-php-mysql:0.5 2018-06-29 06:22:07 +00:00
bottle-python/0.1 quick start docker images 2018-02-02 12:29:39 -08:00
contribution-guide update readme,about submission validation work flow 2018-03-04 22:58:54 -08:00
django-python/0.1 Update Readme.md 2018-10-08 13:30:09 +08:00
drupal-nginx-fpm Add Apache Solr Server 2019-06-19 16:17:30 +08:00
express-custom Update README.md 2019-04-18 10:52:43 -07:00
flask-python/0.1 quick start docker images 2018-02-02 12:29:39 -08:00
images Delete submission-flow.PNG 2018-03-26 21:26:39 -07:00
moodle-nginx-fpm HotFix: moodle-nginx-fpm:0.3, support vnet. 2019-03-06 17:33:28 +08:00
nginx-fpm Log rotate only take care nginx and fpm. 2019-05-05 06:54:25 +00:00
nginx-mutli-container/0.1-wordpress-fpm wrong spelling, add nginx-multi-container 2018-07-12 10:56:21 +08:00
travis-script travis-ci, throw warning if more ports are exposed, it's not failed. 2018-11-09 13:40:51 +08:00
wordpress-alpine-php more tuning 2020-07-22 00:04:07 +00:00
wordpress-apache-php wordpress-apache-php:0.53, add php fileinfo extension. 2018-11-21 17:14:01 +08:00
wordpress-mutli-container tiny update 2018-06-29 09:41:49 +08:00
.gitignore add wordpress-mutli-container:01-fpm and nginx-mutli-container:0.1-wordpress-fpm 2018-06-23 09:16:44 +08:00
.travis.yml Add function of Aquasec scanner-cli (#41) 2018-05-15 07:27:53 +00:00
CONTRIBUTING.md quick start docker images 2018-02-02 12:29:39 -08:00
LICENSE.md quick start docker images 2018-02-02 12:29:39 -08:00
PR_SHAs.txt quick start docker images 2018-02-02 12:29:39 -08:00
README.md Update README.md 2018-03-26 21:37:22 -07:00

README.md

Web App for Containers quick start docker images

This repo contains all currently quick start docker images contributed by the community.

Contribution guide

Please follow the guidelines to be compliant . If any docker image is out of compliance , it will be blacklisted from this repo and eventually removed.

Files, folders and naming conventions

  1. Create a new folder for a new docker image and include a version folder . Such as
+my-image
	         \  0.1 
		       \Dockerfile and other files 
		

Note: If you are updating an existing image , create a new version folder within your image folder.

2.Must include a README.md within version folder to describe : a. Any changes with deployment of use of the image b. Include comments if the image is not backward compatible and how user can manually upgrade to new version

Submission workflow

The submission process as shown below:

  1. Fork the github repostiory
  2. Checkout branch build-test
  3. pull changes from build-test branch
  4. create a new branch or use build-test branch
  5. Commit your changes to the forked repository
  6. Push changes to forked repository
  7. Send a PR ONLY to build-test branch of main repository
  8. Automated Travis CI will run to validate the PR
  9. If build fails , fix the issues and commit changes to the same PR
  10. if build passes the reviewers for the PR will manual verfiy and provide guidance
  11. PR is merged to build-test branch in main repo by repo reviewers
  12. Repo reviewers (Owner) will run sanity test on web app for containers
  13. If the image has no issues it will be merged into master
  14. Image will be deployed to Docker hub

The time taken to approve or reject a PR can vary as this is community driven.

Please submit PR to build-test branch ONLY . Any PR directly submitted to master from a contributor will be rejected. Submission workflow for docker images

  • Owner : The team of members who maintain this repository and review, merge pull requests contributed to the repo.
  • Submitter : Contributor member of one or more docker images on this repository

Guidance on setting tags during Automated Deployment to Docker hub step:

The related image would be deployed to Docker hub automatically as soon as commit message include string "#sign-off". Below 2 kinds of tags would be set.

  1. Set tag as the value of version folder name. For example:
Update files which under ..\my-image\0.1, 
it would push my-image:0.1 to Docker hub.
  1. Set tag as "latest".
  • There is 1 file names latest.txt exist under image folder.
  • The value of above file is as same as the related image version. For example:
Update files which under ..\my-image\0.1, 
..\my-image\latest.txt is exist and the content is "0.1", 
it would also push my-image:latest to Docker hub.

Deploying Samples

You can deploy these samples directly through the Azure Portal

  1. Go to Azure portal
  2. Search for Web app for Containers
  3. Enter web app name , susbcription , resource group
  4. Select configure container and enter the docker hub image name with the tag name. you can find all the docker hub images here
  5. Review the readme.md for the imae you are using to make sure any additional configuration such as app settings need to be updated. Make the necessary changes
  6. Now browse the application

Note: The first request can take longer to complete since the docker image needs to be pulled and run on the container for the first request. This can occur when you scale up your application or the instance gets recycled.