I'm trying to set up a Docker container for our DevOps pipelines. I've... almost got it all.
Right now I've got a Windows-based container which:
- has pre-installed SDKs, Java and the like
- can manipulate (start, stop, build) docker containers
- can access our network shares
The problem is that I can't get points 2) and 3) to be available simultaneously. To enable 3) I've had to prepare a group managed service account and the docker container needs to run as the NT AUTHORITY\NETWORK SERVICE
. However, when the container IS running as NT AUTHORITY\NETWORK SERVICE
it seems to lose access to the Docker pipeline.
Any idea how I can get both these things to work at the same time?
Apparently
NT AUTHORITY\NETWORK SERVICE
isn't the only account that will work with gMSA - it can be anotherNT AUTHORITY
account, such asNT AUTHORITY\SYSTEM
(which does have permission to handle docker containers).