* podman 5.1.1 * drop CNI networking and slirp4netns in favour of netavark + pasta * build statically linked netavark, pasta and aardvark * conmon 2.1.11 * crun 1.15 * crun is also shipped with the normal (non-minimal) image now. * build using golang 1.22, use alpine 3.19 base container Co-authored-by: Trent Apple <trentapple@users.noreply.github.com>
13 lines
376 B
Bash
13 lines
376 B
Bash
#!/bin/bash
|
|
|
|
# ARGS: DOCKER_RUN_OPTS
|
|
testPortForwarding() {
|
|
$DOCKER run --rm -i --privileged --entrypoint /bin/sh --pull=never $@ - <<-EOF
|
|
set -ex
|
|
podman pull nginxinc/nginx-unprivileged:1.20-alpine
|
|
podman run -p 8182:8080 --entrypoint=/bin/sh nginxinc/nginx-unprivileged:1.20-alpine -c 'timeout 15 nginx -g "daemon off;"' &
|
|
sleep 5
|
|
wget -O - 127.0.0.1:8182
|
|
EOF
|
|
}
|