Skip to content

gogotaro/gitlab-runner-docker-inside-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

gitlab-runner-docker-inside-docker

GitLab Runner docker with docker engine inside for shell executor.

PS. AWS Cli v1 is included too.

Usage

Container Build

docker build . -t [container image]

Container Run

docker run -d -v /var/run/docker.sock:/var/run/docker.sock -v [aws credential location]:/root/.aws -v [host config location]:/etc/gitlab-runner --name [container name] [container image]

File Locations

  • /var/run/docker.sock - Docker socket location
  • /root/.aws - Aws credential location
  • /etc/gitlab-runner - GitLab config.toml location in container

About

GitLab Runner docker with docker engine inside for shell executor. In additional, aws cli v1 is included too.

Resources

Stars

Watchers

Forks