CI with GitLab ce on docker container

I have installed GilLab CE on my server using a docker image in my host server.
My idea is to implement a CI pipeline on GitLab and push my docker images on my host docker service register.
My question is: How I can configure GitLab Runner if my GitLab server resides on a docker container and my docker register is in the host server?