Skip to main content
Bumped by Community user
Bumped by Community user
added 51 characters in body
Source Link
030
  • 13.3k
  • 16
  • 75
  • 175

Is it possible to run Docker containers without being logged in as a user on Windows? I have a few containers I am auto-deploying on a server, but I am currently stuck leaving a generic service account logged in so that the containers run and the docker daemon stays running.

My current setup works, but I feel like there must be a better way to deploy/run than to always have an account logged in.

Setup

  • Windows Server 2012 and 2016
  • No docker-desktop because of nested virtualization scenario requirement
  • Linux not an option due to business requirements

Is it possible to run Docker containers without being logged in as a user on Windows? I have a few containers I am auto-deploying on a server, but I am currently stuck leaving a generic service account logged in so that the containers run and the docker daemon stays running.

My current setup works, but I feel like there must be a better way to deploy/run than to always have an account logged in.

Is it possible to run Docker containers without being logged in as a user on Windows? I have a few containers I am auto-deploying on a server, but I am currently stuck leaving a generic service account logged in so that the containers run and the docker daemon stays running.

My current setup works, but I feel like there must be a better way to deploy/run than to always have an account logged in.

Setup

  • Windows Server 2012 and 2016
  • No docker-desktop because of nested virtualization scenario requirement
  • Linux not an option due to business requirements
edited tags; edited tags
Link
030
  • 13.3k
  • 16
  • 75
  • 175
Source Link
Wesley Rolnick
  • 2.8k
  • 12
  • 26

Run Docker Containers without having a logged in User on Windows

Is it possible to run Docker containers without being logged in as a user on Windows? I have a few containers I am auto-deploying on a server, but I am currently stuck leaving a generic service account logged in so that the containers run and the docker daemon stays running.

My current setup works, but I feel like there must be a better way to deploy/run than to always have an account logged in.