A
A
Androbim2020-11-30 12:45:50
Docker
Androbim, 2020-11-30 12:45:50

How do I get Docker and Git to work together?

Good day!
I'm just getting started with Docker.
The solution suggests itself, install both Docker and Git on the machine. It is obvious, everything is clear with him.
Is it possible to install Git (or is it already installed?) directly into the image, and manage versions from there?
In general, how is it customary to act?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mureevms, 2020-11-30
@Androbim

Is it possible to install Git (or is it already installed?) directly into the image, and manage versions from there?

It is possible, but this is obviously a bad approach.
The solution suggests itself, install both Docker and Git on the machine. It is obvious, everything is clear with him.

That's what I would do. And this is the right approach.
If you want more details, please clarify.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question