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:
- Log in to Coder as a site manager.
- Go to Manage > Admin.
- On the Infrastructure tab, find the Fallback shell section.
- Toggle Enable Fallback Shell support for Kubernetes to On.
See an opportunity to improve our docs? Make an edit.