Can kubernetes implement the function of having a cluster and then distributing bare metal to users from the cluster?

  docker, question

My understanding is that kubernetes manages a cluster and then assigns a user a linux docker container with cpu or.
Gpu, then this user can work in a limited resource and operating system.

How do users use resources? Use shell to operate?

Users upload a Dockerfile.