{"id":13289123,"url":"https://github.com/steffbeckers/azure-pipelines-agent-docker","last_synced_at":"2025-03-10T06:34:04.863Z","repository":{"id":113984684,"uuid":"359585203","full_name":"steffbeckers/azure-pipelines-agent-docker","owner":"steffbeckers","description":"Azure Pipelines Agent (Docker)","archived":false,"fork":false,"pushed_at":"2021-04-19T20:42:42.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-07-29T17:04:51.705Z","etag":null,"topics":["azure-devops","azure-pipelines","docker","docker-compose"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/steffbeckers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-19T20:10:41.000Z","updated_at":"2024-07-29T17:04:51.706Z","dependencies_parsed_at":null,"dependency_job_id":"cb22acc8-ec5f-4925-af4d-3c44aba95724","html_url":"https://github.com/steffbeckers/azure-pipelines-agent-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steffbeckers%2Fazure-pipelines-agent-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steffbeckers%2Fazure-pipelines-agent-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steffbeckers%2Fazure-pipelines-agent-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/steffbeckers%2Fazure-pipelines-agent-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/steffbeckers","download_url":"https://codeload.github.com/steffbeckers/azure-pipelines-agent-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242805701,"owners_count":20187996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure-devops","azure-pipelines","docker","docker-compose"],"created_at":"2024-07-29T17:00:26.096Z","updated_at":"2025-03-10T06:34:04.849Z","avatar_url":"https://github.com/steffbeckers.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure Pipelines Agent (Docker)\n\nhttps://docs.microsoft.com/en-us/azure/devops/pipelines/agents/docker?view=azure-devops#linux\n\n## Caution\n\nUsing Docker within a Docker container\nIn order to use Docker from within a Docker container, you bind-mount the Docker socket.\n\nDoing this has serious security implications. The code inside the container can now run as root on your Docker host.\n\n## Build and push image\n\n```\ndocker build -t registry.steffbeckers.eu/azure-pipelines-agent .\ndocker push registry.steffbeckers.eu/azure-pipelines-agent\n```\n\nOR\n\n```\ndocker-compose -f docker-compose.build.yml build\ndocker-compose -f docker-compose.build.yml push\n```\n\n## Run the agent on a linux docker host\n\n```\ndocker pull registry.steffbeckers.eu/azure-pipelines-agent\ndocker run -d --name=azure-pipelines-agent --restart=always -e AZP_URL=https://dev.azure.com/steffbeckers -e AZP_TOKEN=\u003cPAT token\u003e -e AZP_AGENT_NAME=DESKTOP-STEFF -v /var/run/docker.sock:/var/run/docker.sock registry.steffbeckers.eu/azure-pipelines-agent\n```\n\nOR\n\n```\ndocker-compose pull\ndocker-compose up -d\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteffbeckers%2Fazure-pipelines-agent-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsteffbeckers%2Fazure-pipelines-agent-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsteffbeckers%2Fazure-pipelines-agent-docker/lists"}