We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ca41e5 + 4826e53 commit 61c4d08Copy full SHA for 61c4d08
hack/test-example.sh
@@ -157,7 +157,11 @@ alpine_image="ghcr.io/containerd/alpine:3.14.0"
157
if [[ -n ${CHECKS["containerd-user"]} ]]; then
158
INFO "Run a nginx container with port forwarding 127.0.0.1:8080"
159
set -x
160
- limactl shell "$NAME" nerdctl info
+ if ! limactl shell "$NAME" nerdctl info; then
161
+ limactl shell "$NAME" sudo cat /var/log/cloud-init-output.log
162
+ ERROR '"nerdctl info" failed'
163
+ exit 1
164
+ fi
165
limactl shell "$NAME" nerdctl pull --quiet ${nginx_image}
166
limactl shell "$NAME" nerdctl run -d --name nginx -p 127.0.0.1:8080:80 ${nginx_image}
167
0 commit comments