pull an image
ctr image pull my-repo/my-image:latest
running containers
basic usage
ctr run my-repo/my-image:latest my-container
run a container with a mount
ctr run --rm \
--mount type=bind,src=/path/on/host,dst=/path/in/container,options=rbind:rw \
my-image:latest my-container
run a container interactively
sudo ctr run \
-t --rm \
--mount type=bind,src=/path/on/host,dst=/path/in/container,options=rbind:rw \
my-image:latest my-container /bin/bash