I have an angular UI and a nodejs api. I am currently running windows server 2016 TP4 in Azure.Here are the steps I go through:
- I am able to remote in, create images, create containers based off those images, and attach to those containers no problem.
- I pulled a nodejs image from docker:
and then created a container from that image:
docker pull microsoft/node
docker run --name 'my_api_name' -it microsoft/node cmd
- That command takes me into the container via a windows command prompt. I type
which takes me into a powershell shell and i can run npm commands.
My question is, how do I install git onto this container? I want to reach out to the repository holding my app, pull it down and run it in this container. I will eventually push this container image up to the docker registry so clients can pull it down and run it on their windows env.