File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -36,25 +36,25 @@ pe "sudo systemctl status firecracker-containerd"
36
36
pe " cat /etc/systemd/system/firecracker-containerd.service"
37
37
38
38
# Let's look at what images are here
39
- fctr i rm ecr.aws/arn:aws:ecr:us-west-2:137112412989:repository/amazonlinux:latest > /dev/null 2> /dev/null
40
- pe " fctr i ls"
39
+ ctr i rm ecr.aws/arn:aws:ecr:us-west-2:137112412989:repository/amazonlinux:latest > /dev/null 2> /dev/null
40
+ pe " ctr i ls"
41
41
42
42
# Let's try pulling an image from ECR
43
43
pe " ecr-pull ecr.aws/arn:aws:ecr:us-west-2:137112412989:repository/amazonlinux:latest"
44
- pe " fctr i ls"
44
+ pe " ctr i ls"
45
45
46
46
# Let's see what it looks like to run it
47
47
pe " uname -a"
48
48
pe " cat /etc/os-release"
49
- pe " fctr run --runtime aws.firecracker --rm --tty ecr.aws/arn:aws:ecr:us-west-2:137112412989:repository/amazonlinux:latest demo"
49
+ pe " ctr run --runtime aws.firecracker --rm --tty ecr.aws/arn:aws:ecr:us-west-2:137112412989:repository/amazonlinux:latest demo"
50
50
51
51
# Do the same inside the VM
52
52
# uname -a -> an Amazon Linux kernel (amzn2) with a different hostname
53
53
# cat /etc/os-release -> same thing you'd see in Docker, this is a normal container inside a VM
54
54
55
55
# Let's look at what happens on the host
56
- fctr c rm demo-sleep > /dev/null 2> /dev/null
57
- pe " fctr run --runtime aws.firecracker --rm --detach ecr.aws/arn:aws:ecr:us-west-2:137112412989:repository/amazonlinux:latest demo-sleep sleep 60"
56
+ ctr c rm demo-sleep > /dev/null 2> /dev/null
57
+ pe " ctr run --runtime aws.firecracker --rm --detach ecr.aws/arn:aws:ecr:us-west-2:137112412989:repository/amazonlinux:latest demo-sleep sleep 60"
58
58
pe " pidof firecracker-containerd"
59
59
pe " sudo pstree -sS $( pidof firecracker-containerd) "
60
60
You can’t perform that action at this time.
0 commit comments