Cannot access linux vm host on mac

Im new to docker and trying to access the linux vm host which holds the docker data running the command below on my mac. Im following the below video but the command does not work for me. Any ideas how i can access the contents inside the docker host

screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty

I also tried

sudo screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty

I get a notification cannot exec screen ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/tty: No such file of directory