<p>I'm trying to connect to Hyperkit to check containers running on this VM.</p>
<p>All I'm getting now is <code>[screen is terminating]</code></p>
<p>Here is what I do:</p>
<pre><code>MacBook-Pro-Karol:  ~
→ minikube start --driver=hyperkit
😄  minikube v1.12.3 na Darwin 10.15.6
✨  Using the hyperkit driver based on user configuration
👍  Starting control plane node minikube in cluster minikube
🔥  Creating hyperkit VM (CPUs=2, Memory=4000MB, Disk=20000MB) ...
🐳  preparing Kubernetes v1.18.3 on Docker 19.03.12...
🔎  Verifying Kubernetes components...
🌟  Enabled addons: default-storageclass, storage-provisioner
🏄  Ready! kubectl is configured to be used with &quot;minikube&quot;.

MacBook-Pro-Karol:  ~
→ sudo screen /Users/karol/.minikube/machines/minikube/tty
Password:
[screen is terminating]

MacBook-Pro-Karol:  ~
→ screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty
[screen is terminating]

Cannot exec '/Users/karol/Library/Containers/com.docker.docker/Data/vms/0/tty': Permission denied

→ sudo screen ~/Library/Containers/com.docker.docker/Data/vms/0/tty
Password:
[screen is terminating]

Cannot exec '/Users/karol/Library/Containers/com.docker.docker/Data/vms/0/tty': Operation not permitted
</code></pre>
<p>Any help would be appreciated.</p>

Karol Gasienica
<p>You can use <code>minikube ssh</code> to <a href="https://minikube.sigs.k8s.io/docs/commands/ssh/" rel="nofollow noreferrer">login</a> in to VM that minikube runs in:</p>
<blockquote>
<p>Log into or run a command on a machine with SSH; similar to
‘docker-machine ssh’.</p>
</blockquote>
<pre><code>minikube ssh [flags]
</code></pre>
<p>and then use <code>docker ps</code> to check the running containers inside this VM:</p>
<pre><code>$ docker ps  | grep kube-api
f53aebd26287        7e28efa976bd              &quot;kube-apiserver --ad…&quot;   16 minutes ago   k8s_kube-apiserver_kube-apiserver-minikube_kube-system_8009646ba816631d0677c2668886baad_1
12188a523d12        k8s.gcr.io/pause:3.2      &quot;/pause&quot;                 16 minutes ago   k8s_POD_kube-apiserver-minikube_kube-system_8009646ba816631d0677c2668886baad_1
</code></pre>
