Windows-Containers
Windows-Containers copied to clipboard
Tutorial: Web Development on Windows Containers
Feature Request
Create a tutorial to introduce novices to the idea of Windows Containers. Use web development to showcase the benefit of containers for security, portability, consistency, and scalability.
Considerations
Environment
- Check that they have a compatible environment (e.g., device, OS).
- Install necessary tools and package managers.
- Verify everything looks good (e.g., versions, reachable).
Base Image
- Explain what the base image is.
- Pull the base image.
- Verify that it works.
Web App
- Understand the web app code.
- Build the app.
- Check the app with
localhost.
Dockerfile
- Understand the Dockerfile.
- Build the Dockerfile.
- Check that the image was created.
Run Container
- Start up the container from new image.
- Check files are inside.
- Expose port and check with
localhost.
Additional Steps
- What they can do next.
Questions
- Should we provide a verification script they can run to validate the following?:
- Compatible device, OS, tools, runtimes, package managers
- Image was created and can be used
- Web app code is still stable and passes tests
- What should the example webapp demonstrate?
- Windows Container statistics (e.g., usage, start up times, images)
- How to get support or troubleshoot
- New features/things to try
Modifying to use inquirer.js to provide following functionality:
- users can select their web dev framework
- code is automatically populated vs copy & paste
- validation script is automatically running
- fastest way to containerize web app
This issue has been open for 90 days with no updates. @ntrappe-msft, please provide an update or close this issue.