Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/microsoft/DockerToolsDocs
Documentation for Docker Developer Tools
https://github.com/microsoft/DockerToolsDocs
Last synced: 15 days ago
JSON representation
Documentation for Docker Developer Tools
- Host: GitHub
- URL: https://github.com/microsoft/DockerToolsDocs
- Owner: microsoft
- Archived: true
- Created: 2015-10-28T00:02:32.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2021-02-25T22:38:10.000Z (over 3 years ago)
- Last Synced: 2024-04-08T00:51:30.503Z (3 months ago)
- Size: 70.5 MB
- Stars: 59
- Watchers: 20
- Forks: 24
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Lists
- awesome-stars - microsoft/DockerToolsDocs - Documentation for Docker Developer Tools (Others)
README
# Important
The list of tools described below are archived and no longer under development. For the latest versions of the container tooling for Visual Studio and Visual Studio Code, please see [Containers Tools in Visual Studio](https://docs.microsoft.com/en-us/visualstudio/containers/?view=vs-2019) and the [Visual Studio Code Docker extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker)# Docker Tools Documentation (archived)
A list of tools being developed at Microsoft for working with Docker Containers##Docker Tools for Visual Studio##
![Docker Tools for Visual Studio](./media/DockerToolsForVSLogo.png)[DockerToolsForVisualStudio ](http://aka.ms/DockerToolsForVS)
The Visual Studio 2015 Tools for Docker Preview enables developers to build and debug their applications in a locally hosted Docker container and publish their application to an Azure Docker Host.
##yo docker##
![yo docker](./media/yodockerLogo.png)Scaffolding of Dockerfiles and scripts to build and run your Docker containers
To assist developers getting started, and those developers already using docker with the appropriate Dockerfile and associated scripts to build and run your docker containers. This yeoman generator will prompt you with a few questions, asking your development language and target container host. Two files will be added to the directory
- `Dockerfile` - the Dockerfile associated with your target language
- `dockerTask.sh` - a bash script that contains the common tasks associated with building and running your docker containers
parameters supported for dockerTask.sh
- `build` - builds the Docker image
- `run` - runs the Docker image on the default port, removing any current running containers for the same port
- `buildrun` - the default, which does what the name implies...![https://youtu.be/_afFgiHiHO8](./media/yodockerVideoThumbnail.png)
[A 5 minute demo showing yo docker with NodeJS apps and VSCode](https://youtu.be/p1F-398z1_4)
###Installing yo docker on Mac###
1. Install [NodeJs](http://nodejs.org)
2. Install Yo by running the following command from the Terminal:`npm -g install yo`
3. Install Docker generator:
`npm -g install generator-docker`
4. From the directory of your project, run the Docker generator:`yo docker`
###Installing yo docker on Windows###
*Coming soon*While you can install the same yo docker tools above for the mac, the scripts generated are bash scripts. We are working on generating .cmd scripts as a Windows Developer would expect.
###Contributing to yo docker###
We are planning to make yo docker open sourced, accepting pull requests. *stay tuned*##Getting Started Samples##
For those looking for some simple Hello World samples for GOLang, NodeJS and soon ASP.NET, you can download these:
- [Container Ready Hello World Samples](https://github.com/Microsoft/dockertools-sampleprojects)These samples do NOT yet have the Docker assets added. The idea is you would use `yo docker` to enhance these.
###NodeJS Hello World Sample###
To use the NodeJS sample
- In the root directory execute: `npm install` to restore the node packages
- to get nodemon support, execute: `sudo npm install -g nodemon`
- to start the app with nodemon, execute: `nodemon`