You can enable fallback shell support so that Coder will automatically fall back to the CMD specified in the Docker image if Coder detects that the user's shell is /sbin/nologin.

To enable fallback shell support for Kubernetes:

  1. Log in to Coder as a site manager.
  2. Go to Manage > Admin.
  3. On the Infrastructure tab, find the Fallback shell section.
  4. Toggle Enable Fallback Shell support for Kubernetes to On.

Enable fallback shell support

See an opportunity to improve our docs? Make an edit.