How to use a docker image on a non connected environment

Hello everyone.

I would like to run my test and build my environmenent (about Ansible) in a container. I know I have to use a Docker image, but i’m working on a non connected environement so how should I pull the image from the docker hub, or use directly the docker file ? I’ve installed podman, is it the same thing as Docker for Gitlab-ci ?

I also would like to use Gitlab Runner with docker executor (but I need an image…)

Thank you

Hello,

If someone ddidn’t understand my problem I could explain it again.

I created an image “From scratch” and i downloaded a tar.gz file which contain the image. Then I executed docker build .