Running a job inside privileged docker on ‘machine’ executor
in progress
Shai Cyberark
Implement behind-the-scene logic which allows one to seamlessly execute a job on a Docker container which runs on a 'machine' runner.
Example configuration to be used to demonstrate the feature:
version: 2.1
jobs:
say-hello:
machine:
image: ubuntu-2004-cuda-11.2:202103-01
runs-on:
docker:
image: docker.io/account/example:latest # All steps will run inside this container
privileged: True
steps:
- checkout
- run:
command: "echo hi there" # This will run inside the docker container
S
Sebastian Lerner
Shai Cyberark can you clarify if this request is around selfhosted runners or on CircleCI-hosted runners.
S
Sebastian Lerner
in progress
S
Sebastian Lerner
under review
Looking into this, will update when we have more.