Docker Destop Welcome to Docker Tutorial -- seeking clarity

I genuinely want to learn how to use Docker. I downloaded Docker Desktop and am trying the tutorial and got stuck.

I am at How to run a container? Step 2. Get the sample application. Clone the repository at: .

There is a git command directly below with an option to copy. I presumed that the git command would download the sample application at but when I copy it and enter it into the terminal found under ‘Exec’ I get the response “/bin/sh: git: not found”.

Now my Google-Fu is weak, but I seem to have found this post on the forum: Win10 Docker App - Learning center first steps are pretty confusing - #7 by saclauss

So is the tutorial not working because I need to install GIT in the container?

My understanding that the container is like its own universe so to be able to use GIT it needs to be in the container? Or should GIT be installed on my desktop?

What do I need to do to be able to succeed at the tutorial?

A. Yes, for a container to use Git, it needs to have Git installed
B. I am pretty sure the Docker tutorial does NOT ask you to do Git things WITHIN the container

I don’t know what that is. Do you mean “How do I run a container?”

At step 2 in that guide thre is no word about containers yet so I’m not sure what “exec” you found when you still have no container at all at least according to the tutorial. Since it is about starting a container it would be strange if it required an already running container to run the git clone command, so yes, you need to run it on the host in a terminal.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.