I'm wondering that most of tutorials for the configuration of .gitlab-ci.yml
use the image: docker
or image: docker/compose
.
In my case we have a pre-installed docker and docker-compose on our virtual machine (Linux).
- So is it necessary to use a
image
definition? - In other cases they often use the
dind
(Docker-in-Docker) functionality, is that necessary in my case? - If not, when do i use it/is it useful?